template<class PosType> std::vector<PosType> OrderNodesPosType(std::vector<NodeType> const& nodes, PosType const& NA) const;

Arguments

nodes

std::vector<PosType> OrderNodesPosType(std::vector<NodeType> const&; a vector of application-specific nodes.

NA

PosType const&: NA value used mainly for the purpose of template-specification.

Value

std::vector<PosType>: a vector of positions in nodes in the order of their internally stored ids. the element-type of the returned vector can be specified as a template argument or dedcued from the type of NA.

Template Arguments

PosType

an integer type for the positions in the returned vector.

See also