PNapi::Arc Class Reference
[Petri Net API]

#include <petrinet.h>

Collaboration diagram for PNapi::Arc:

Collaboration graph
[legend]
List of all members.

Detailed Description

arcs of the Petri net

Class to represent arcs of Petri nets. An arc written as a tupel (n1,n2) has n1 as source and n2 as target.

Definition at line 269 of file petrinet.h.

Public Member Functions

virtual ~Arc ()
 destructor

Private Member Functions

void mirror ()
 swaps source and target node of the arc
string output_dot (bool draw_interface=true) const
 DOT-output of the arc (used by PetriNet::dotOut()).
 Arc (Node *source, Node *target, unsigned int weight=1)
 create an arc with a given weight

Private Attributes

Nodesource
 source node of the arc
Nodetarget
 target node of the arc
unsigned int weight
 weight of the arc (experimental)

Friends

class PetriNet
 class PetriNet is allowed to access the privates of class Arc


The documentation for this class was generated from the following files:
Generated on Thu Jan 24 04:01:23 2008 for GNU BPEL2oWFN by  doxygen 1.5.2