Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
GraphNodeRepC::GraphNodeRepC(BaseGraphC &,GenClassT)
GraphNodeRepC::In(void) const
GraphNodeRepC::Out(void) const
GraphNodeRepC::In(void)
GraphNodeRepC::Out(void)
GraphNodeRepC::Marker(void)
GraphNodeRepC::Marker(void) const
GraphNodeRepC::Attr(void) const
GraphNodeRepC::Attr(void)
GraphNodeRepC::DebugPrint(ostream &) const
GraphNodeRepC::DelInEdges(void)
GraphNodeRepC::DelOutEdges(void)
GraphNodeRepC::~GraphNodeRepC(void)
GraphNodeRepC::Hash(void) const
GraphNodeRepC::BaseGraph(void) const
GraphNodeRepC
 
The class GraphNodeRepC is a representation of graph node.
 
include "amma/BoGraph.hh"
User Level:Default
Library:Mgraph
Example:exBiHash.cc
Section:Containers.Graphs
In Scope:std

Comments:
It can be linked into a list of graph node. An instance of thist class contains information about the edges which go into the node and which go out.

Parent Classes: Derived Classes: Typedefs:
typedef IntrDListC<GraphAdjRepC> FooListT;

typedef int MarkerT;

typedef void * GenClassT;

Variables:
const BaseGraphC & graph;

IntrDListC in;
the list of input edges

IntrDListC out;
the list of output edges for directed graph

MarkerT marker;

GenClassT data;

Methods:
GraphNodeRepC(BaseGraphC & graph,GenClassT nodeAttr)
Creates the node of a graph.

const IntrDListC<GraphAdjRepC> & In() const
Returns the constant list of graph adjacencies which have this node as target node.

const IntrDListC<GraphAdjRepC> & Out() const
Returns the constant list of graph adjacencies which have this node as source node.

IntrDListC<GraphAdjRepC> & In()
Returns the list of graph adjacencies which have this node as target node.

IntrDListC<GraphAdjRepC> & Out()
Returns the list of graph adjacencies which have this node as source node.

MarkerT & Marker()
Access to the marker of this node.

MarkerT Marker() const
Returns the marker of this node.

const GenClassT & Attr() const
Returns the pointer to the attributes of this node.

GenClassT Attr()
Returns the pointer to the attributes of this node.

void DebugPrint(ostream & s) const
Print content of marker and address of this node.

void DelInEdges()
Delete all input edges.

void DelOutEdges()

~GraphNodeRepC()
Destructor.

UIntT Hash(void) const
Returns a hash value for the current node.

const BaseGraphC & BaseGraph() const
Get the graph to which the node belongs.


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001