Class for the vertices of an IXAssignmentGraph.
More...
#include <indigox/graph/assignment.hpp>
Class for the vertices of an IXAssignmentGraph.
◆ IXAGVertex()
◆ GetAssignedCount()
uint32_t GetAssignedCount |
( |
| ) |
const |
|
inline |
Get the number of assigned electrons.
Does not include preassigned electrons.
- Returns
- the number of assigned electrons.
◆ GetPreAssignedCount()
uint32_t GetPreAssignedCount |
( |
| ) |
const |
|
inline |
Get the number of pre-assigned electrons.
- Returns
- the number of pre-assigned eletrons.
◆ GetSourceEdge()
MGEdge GetSourceEdge |
( |
| ) |
const |
|
inline |
Obtain the referenced IXMolecularGraph edge.
If the IXAGVertex instance is not mapped to an edge, the returned MGVertex will be empty.
- Returns
- the MGEdge instance associated with this IXAGVertex.
◆ GetSourceVertex()
Obtain the referenced IXMolecularGraph vertex.
If the IXAGVertex instance is not mapped to a vertex, the returned MGVertex will be empty.
- Returns
- the MGVertex instance associated with this IXAGVertex.
◆ GetTotalAssigned()
uint32_t GetTotalAssigned |
( |
| ) |
const |
|
inline |
Get the total number of assigned electrons.
The total number of electrons is the sum of the number of pre-assigned electrons and the number of assigned electrons.
- Returns
- the total number of assigned electrons.
◆ IsEdgeMapped()
bool IsEdgeMapped |
( |
| ) |
const |
|
inline |
Is the associated IXMoleculerGraph member an edge.
- Returns
- if the
_source_edge
member is not empty.
Referenced by IXAGVertex::GetSourceEdge().
◆ IsVertexMapped()
bool IsVertexMapped |
( |
| ) |
const |
|
inline |
◆ SetAssignedCount()
void SetAssignedCount |
( |
const uint32_t |
count | ) |
|
|
inline |
Set the number of assigned eletrons.
- Parameters
-
count | the number of electrons to assign. |
◆ SetPreAssignedCount()
void SetPreAssignedCount |
( |
const uint32_t |
count | ) |
|
|
inline |
Set the number of pre-assigned eletrons.
ElectronAssignerAlgorithms will not modify this value.
- Parameters
-
count | the number of electrons to pre-assign. |
◆ IXAssignmentGraph
The documentation for this class was generated from the following file: