IntLabeledEdge Struct Reference

Defines labelled (by integer) edge of the directed graph. More...

#include <GraphType.h>

Inheritance diagram for IntLabeledEdge:
GraphEdge PlanarGraphIntLabelledEdge

List of all members.

Public Member Functions

 IntLabeledEdge (int target, int label)
 Constructor for an edge. Argument t is a number of the target.
 IntLabeledEdge ()
 Dummy constructor, not to be used, required for STL::map. Also, can be used to denote "failure" or "dead-end" edge.
IntLabeledEdge inverse (int origin)
 Invert an edge.
bool operator< (const IntLabeledEdge &e) const
 Check if one edge is less than the other.
bool operator== (const IntLabeledEdge &e) const
 Check if two edges equal.
bool operator!= (const IntLabeledEdge &e) const
 Check if two edges are not equal.

Public Attributes

int theLabel
 The label of the edge.

Detailed Description

Defines labelled (by integer) edge of the directed graph.

Definition at line 103 of file GraphType.h.


Constructor & Destructor Documentation

IntLabeledEdge::IntLabeledEdge ( int  target,
int  label 
) [inline]

Constructor for an edge. Argument t is a number of the target.

Definition at line 106 of file GraphType.h.

IntLabeledEdge::IntLabeledEdge (  )  [inline]

Dummy constructor, not to be used, required for STL::map. Also, can be used to denote "failure" or "dead-end" edge.

Definition at line 109 of file GraphType.h.

Referenced by inverse().


Member Function Documentation

IntLabeledEdge IntLabeledEdge::inverse ( int  origin  )  [inline]

Invert an edge.

Reimplemented from GraphEdge.

Reimplemented in PlanarGraphIntLabelledEdge.

Definition at line 113 of file GraphType.h.

References IntLabeledEdge(), and theLabel.

bool IntLabeledEdge::operator!= ( const IntLabeledEdge e  )  const [inline]

Check if two edges are not equal.

Reimplemented from GraphEdge.

Reimplemented in PlanarGraphIntLabelledEdge.

Definition at line 128 of file GraphType.h.

References theLabel.

bool IntLabeledEdge::operator< ( const IntLabeledEdge e  )  const [inline]

Check if one edge is less than the other.

Reimplemented from GraphEdge.

Reimplemented in PlanarGraphIntLabelledEdge.

Definition at line 116 of file GraphType.h.

References theLabel, and GraphEdge::theTarget.

bool IntLabeledEdge::operator== ( const IntLabeledEdge e  )  const [inline]

Check if two edges equal.

Reimplemented from GraphEdge.

Reimplemented in PlanarGraphIntLabelledEdge.

Definition at line 124 of file GraphType.h.

References theLabel.


Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:48 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1