59   explicit node(
unsigned int j) : 
id(j) {}
 
   64   operator unsigned int()
 const {
 
   93     return id != UINT_MAX;
 
  100 #include <tulip/tulipconf.h> 
  102 struct TLP_SCOPE __tlp_vector_node : 
public std::vector<tlp::node> {};
 
  110 struct hash<
tlp::node> {
 
  111   size_t operator()(
const tlp::node n)
 const {
 
  116 struct equal_to<
tlp::node> {
 
  118     return n.
id == n2.
id;
 
  122 struct less<
tlp::node> {
 
The node struct represents a node in a Graph object.
 
unsigned int id
id The identifier of the node.
 
bool isValid() const
isValid checks if the node is valid. An invalid node is a node whose id is UINT_MAX.
 
bool operator==(const node n) const
operator != Compares two nodes, checking that they are identical.
 
node(unsigned int j)
node Create a node of given identifier. It is your responsibility to make sure a node of this ID exis...
 
constexpr node()
node creates an invalid node.
 
bool operator!=(const node n) const
operator != Compares two nodes, checking that they are different..