indigoX
|
Class for the vertices of an IXCondensedMolecularGraph. More...
#include <indigox/graph/condensed.hpp>
Public Types | |
enum | ContractedSymmetry |
Enum for the contracted symmetry groups. More... | |
Public Member Functions | |
CMGVertex ()=default | |
CMGVertex (const CMGVertex &)=default | |
CMGVertex (CMGVertex &&)=default | |
~ CMGVertex ()=default | |
const std::vector< CondensedVertex > & | GetCondensedVertices () const |
std::vector< MGVertex > | GetContractedVertices () const |
const CondensedMolecularGraph & | GetGraph () const |
Get the graph this vertex is part of. More... | |
const VertexIsoMask & | GetIsomorphismMask () const |
Get the isomorphism testing mask. More... | |
const MGVertex & | GetSource () const |
Get the MGVertex associated with this vertex. More... | |
bool | IsContractedHere (const MGVertex &v) const |
Checks if a given MGVertex is contracted into this vertex. More... | |
size_t | NumContracted () const |
Get the number of contracted vertices. More... | |
size_t | NumContracted (ContractedSymmetry sym) const |
Get the number of contracted vertices in the symmetry group. More... | |
operator bool () const | |
bool | operator!= (const CMGVertex &v) const |
bool | operator< (const CMGVertex &v) const |
bool | operator<= (const CMGVertex &v) const |
CMGVertex & | operator= (CMGVertex &&)=default |
CMGVertex & | operator= (const CMGVertex &)=default |
bool | operator== (const CMGVertex &v) const |
bool | operator> (const CMGVertex &v) const |
bool | operator>= (const CMGVertex &v) const |
Friends | |
class | cereal::access |
Friendship allows for serialisation. More... | |
class | CondensedMolecularGraph |
Friendship allows IXCondensedMolecularGraph to add vertices. More... | |
std::ostream & | operator<< (std::ostream &os, const CMGVertex &v) |
Class for the vertices of an IXCondensedMolecularGraph.
|
strong |
|
default |
|
default |
const std::vector<CondensedVertex>& GetCondensedVertices | ( | ) | const |
std::vector<MGVertex> GetContractedVertices | ( | ) | const |
const CondensedMolecularGraph& GetGraph | ( | ) | const |
Get the graph this vertex is part of.
const VertexIsoMask& GetIsomorphismMask | ( | ) | const |
Get the isomorphism testing mask.
const MGVertex& GetSource | ( | ) | const |
bool IsContractedHere | ( | const MGVertex & | v | ) | const |
Checks if a given MGVertex is contracted into this vertex.
v | the vertex to check for. return if the provided vertex is contracted into this one. |
size_t NumContracted | ( | ) | const |
Get the number of contracted vertices.
size_t NumContracted | ( | ContractedSymmetry | sym | ) | const |
Get the number of contracted vertices in the symmetry group.
|
inline |
|
inline |
bool operator< | ( | const CMGVertex & | v | ) | const |
|
inline |
bool operator== | ( | const CMGVertex & | v | ) | const |
bool operator> | ( | const CMGVertex & | v | ) | const |
|
inline |
|
friend |
Friendship allows for serialisation.
|
friend |
Friendship allows IXCondensedMolecularGraph to add vertices.
|
friend |