61 if ( neighbor == newNeighbor ) {
67 this->neighborList.push_front(newNeighbor);
SloanGraphNode_StatusType nodeStatus
Status of node.
int giveNewNumber()
Returns new number of receiver.
std::list< int > neighborList
List of neighbouring nodes (represent graph edges).
SloanGraphNode(SloanGraph *graph, int numOld)
Creates node belonging to given graph with given old number.
int Priority
Node priority.
int Degree
Node degree (number of adjacent edges).
SloanGraph * graph
Associated graph structure, to which node belongs.
Graph representing the undirected graph used for Sloan algorithm for symmetric matrix profile reducti...
void addNeighbor(int neighbor)
Add neighbouring node to corresponding list.
int Distance
Node distance.
int NumberOld
Old (original) number.
int min(int i, int j)
Returns smaller value from two given decimals.
~SloanGraphNode()
Destructor.
the oofem namespace is to define a context or scope in which all oofem names are defined.
int computeProfileHeight()
Computes the profile height corresponding to receiver from current new and old numbers.
SloanGraphNode & giveNode(int num)
Return graph node.
int NumberNew
New (optimized) number.