35 #ifndef sloangraphnode_h 36 #define sloangraphnode_h 87 void addNeighbor(
int neighbor);
120 int computeProfileHeight();
123 #endif // sloangraphnode_h void setPriority(int p)
Sets the receiver priority to given value.
SloanGraphNode_StatusType nodeStatus
Status of node.
int giveOldNumber()
Returns old number of receiver.
int giveNewNumber()
Returns new number of receiver.
int giveDegree()
Return the receiver's degree.
Class representing node in undirected graph, used by Sloan profile optimizer.
int givePriority()
Returns priority of receiver.
int giveDistance()
Returns distance of receiver.
SloanGraphNode_StatusType giveStatus()
Returns receiver status.
std::list< int > neighborList
List of neighbouring nodes (represent graph edges).
void setStatus(SloanGraphNode_StatusType s)
Sets the status of receiver to given value.
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 setDistance(int d)
Sets the receiver distance to given number.
std::list< int > & giveNeighborList()
Returns the neighbor list of receiver.
int Distance
Node distance.
int NumberOld
Old (original) number.
SloanGraphNode_StatusType
Status type definition.
void assignOldNumber()
sets new number equal to old one.
void increasePriorityBy(int p)
Increases the priority of receiver by given value.
void setNewNumber(int n)
Sets the new number of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
int NumberNew
New (optimized) number.