| Constructors and Destructor
| CBNSCharge ()
Default Constructor
| | CBNSCharge (CBNSClique *pSourceClique, CBNSClique *pSinkClique, CBNSSeparator *pSeparator)
Constructor with Source Clique, Sink Clique and Separator as the parameters
| virtual | ~CBNSCharge ()
Destructor
|
|
| Out Functions
CBNSClique* | GetSourceClique ()
Returns the pointer to the Source Clique
| CBNSClique* | GetSinkClique ()
Returns the pointer to the Sink Clique
| CBNSSeparator* | GetSeparator ()
Returns the pointer to the Separator
|
|
| In Functions
void | SetSourceClique (CBNSClique *pSourceClique)
Sets the Source Clique for the Charge
| void | SetSinkClique (CBNSClique* pSinkClique)
Sets the Sink Clique for the Charge
| void | SetSeparator (CBNSSeparator* pSeparator)
Sets the Separator for the Charge
|
|
| Friend Functions
friend void | PrintChargeSet (CBNSSet<CBNSCharge*> ChargeSet)
Prints the contents of Charge Set
| friend ostream& | operator << (ostream &o, CBNSCharge &Charge)
Stream insertion operator
|
|