fpmas-metamodel 1.0
|
#include <dot.h>
Public Member Functions | |
NodeView ()=default | |
NodeView (DistributedId id, int rank, float utility) | |
NodeView (DistributedId id, int rank) | |
NodeView (DistributedId id, int rank, float utility, int x, int y) | |
Public Attributes | |
DistributedId | id |
int | rank |
int | x |
int | y |
bool | is_location |
bool | fixed_position |
float | utility |
Helper class to serialize nodes information for the DotOutput.
|
default |
Default generated contructor, for internal use.
|
inline |
|
inline |
NodeView constructor for a generic node.
fixed_position and is_location are set to false, and x, y and utility are left default initialized.
|
inline |
NodeView constructor for a MetaGridCell.
is_location and fixed_position are set to true.
DistributedId NodeView::id |
ID of the node.
int NodeView::rank |
Current location of the node.
int NodeView::x |
If fixed_position is true, represents the x coordinate of the DOT node.
int NodeView::y |
If fixed_position is true, represents the y coordinate of the DOT node.
bool NodeView::is_location |
True iff the node contains a Cell (MetaGraphCell or MetaGridCell).
bool NodeView::fixed_position |
If true, the position of the node is set to be fixed in the DOT output.