seams-core v2.6.0
libyodaLib, the C++ engine of d-SEAMS
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
cage_canon.hpp
Go to the documentation of this file.
1
#ifndef SEAMS_CAGE_CANON_H_
2
#define SEAMS_CAGE_CANON_H_
3
4
#include <string>
5
#include <vector>
6
7
// Nauty (McKay and Piperno, J. Symbolic Comput. 60, 94 (2014);
8
// 10.1016/j.jsc.2013.09.003) produces a canonical adjacency certificate
9
// for the undirected graph of a ring set. findHC/findDDC stay the
10
// enumerators; this is the label-independent signature.
11
12
namespace
cage
{
13
14
bool
nautyAvailable
();
15
16
// Hex encoding of the canonical adjacency matrix. Empty if nauty is
17
// off or the ring set has no vertices.
18
std::string
canonicalCertificate
(
const
std::vector<std::vector<int>> &rings);
19
20
// True when the ring graph is isomorphic to the hexagonal prism (HC).
21
bool
isHexagonalPrism
(
const
std::vector<std::vector<int>> &rings);
22
23
bool
sameCertificate
(
const
std::vector<std::vector<int>> &a,
24
const
std::vector<std::vector<int>> &b);
25
26
}
// namespace cage
27
28
#endif
cage
Functions for topological network criteria cage types.
Definition
cage.hpp:41
cage::isHexagonalPrism
bool isHexagonalPrism(const std::vector< std::vector< int > > &rings)
cage::canonicalCertificate
std::string canonicalCertificate(const std::vector< std::vector< int > > &rings)
cage::sameCertificate
bool sameCertificate(const std::vector< std::vector< int > > &a, const std::vector< std::vector< int > > &b)
cage::nautyAvailable
bool nautyAvailable()
src
include
internal
cage_canon.hpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf