#include <gnodestuff.h>
Inheritance diagram for matvec::GNode:

GNode class includes methods relevant to a graph node
Definition at line 37 of file gnodestuff.h.
Public Methods | |
| GNode (void) | |
| float | getCutsetMagnitude (void) |
| void | updateMysets (void) |
| CutSet * | makeNeighSet (void) |
| CutSet | calcBCutSetForPrevGNode (CutSet *FCutSetPrevGNode) |
| CutSet | calcMyBCutSet (void) |
| void | peel (void) |
| void | reComputeGNode () |
| void | reverseSampleGNode () |
| void | sampleGNode () |
| void | release (void) |
| bool | isMyNeighbor (GNode *refGNode) |
| virtual unsigned | getState (void) |
| virtual unsigned | getOldState (void) |
| virtual unsigned | getAcceptedAlleleState (void) |
| virtual unsigned | getMyAlleleState (void) |
| virtual unsigned | getMyAlleleOrigin (void) |
| virtual unsigned | getAcceptedMatState (void) |
| virtual unsigned | getAcceptedPatState (void) |
| virtual unsigned | getmState (void) |
| virtual unsigned | getpState (void) |
| virtual unsigned | getWeight (void) |
| virtual bool | incr () |
| virtual void | reset (int i) |
| virtual void | resetAndSwitch (int i) |
| virtual | ~GNode (void) |
Public Attributes | |
| bool | sampled |
| unsigned | weight |
| set< GNodeSet * > | SetofGNsts |
| CutSet * | generatedSet |
| CutSet * | myOldGNodeProbs |
| unsigned | peelorder |
| unsigned | id |
| unsigned | connectFlag |
| unsigned | numberOfCuts |
| SafeSTLVector< int > | sampledStateCount |
Static Public Attributes | |
| GNodeList * | gNodeListPtr |
|
|
|
|
|
Definition at line 101 of file gnodestuff.h. References release().
00101 {release();}
|
|
|
|
|
|
|
|
|
Reimplemented in matvec::AlleleStateNode. Definition at line 68 of file gnodestuff.h.
00068 {
00069 throw exception("GNode::getAcceptedAlleleState(): called for virtual function");
00070 };
|
|
|
Reimplemented in matvec::GenotypeNode. Definition at line 77 of file gnodestuff.h.
00077 {
00078 throw exception("GNode::getAcceptedMatState(): called for virtual function");
00079 };
|
|
|
Reimplemented in matvec::GenotypeNode. Definition at line 80 of file gnodestuff.h.
00080 {
00081 throw exception("GNode::getAcceptedPatState(): called for virtual function");
00082 };
|
|
|
|
|
|
Reimplemented in matvec::GenotypeNode. Definition at line 83 of file gnodestuff.h.
00083 {
00084 throw exception("GNode::getmState(): called for virtual function");
00085 };
|
|
|
Reimplemented in matvec::AlleleOriginNode. Definition at line 74 of file gnodestuff.h.
00074 {
00075 throw exception("GNode::getmState(): called for virtual function");
00076 };
|
|
|
Reimplemented in matvec::AlleleStateNode. Definition at line 71 of file gnodestuff.h.
00071 {
00072 throw exception("GNode::getmState(): called for virtual function");
00073 };
|
|
|
Reimplemented in matvec::AlleleStateNode, matvec::AlleleOriginNode, and matvec::GenotypeNode. Definition at line 65 of file gnodestuff.h.
00065 {
00066 throw exception("GNode::getOldState(): called for virtual function");
00067 };
|
|
|
Reimplemented in matvec::GenotypeNode. Definition at line 86 of file gnodestuff.h.
00086 {
00087 throw exception("GNode::getpState(): called for virtual function");
00088 };
|
|
|
Reimplemented in matvec::AlleleStateNode, matvec::AlleleOriginNode, and matvec::GenotypeNode. Definition at line 62 of file gnodestuff.h.
00062 {
00063 throw exception("GNode::getState(): called for virtual function");
00064 };
|
|
|
Reimplemented in matvec::AlleleStateNode, matvec::AlleleOriginNode, and matvec::GenotypeNode. Definition at line 89 of file gnodestuff.h. Referenced by matvec::compareGNodesWeight::operator()().
00089 {
00090 throw exception("GNode::getWeight(): called for virtual function");
00091 };
|
|
|
Reimplemented in matvec::AlleleStateNode, matvec::AlleleOriginNode, and matvec::GenotypeNode. Definition at line 92 of file gnodestuff.h.
00092 {
00093 throw exception("GNode::incr(): called for virtual function");
00094 };
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by matvec::GNodeList::peelCutAndCompute(). |
|
|
Referenced by ~GNode(). |
|
|
Reimplemented in matvec::AlleleStateNode, matvec::AlleleOriginNode, and matvec::GenotypeNode. Definition at line 95 of file gnodestuff.h.
00095 {
00096 throw exception("GNode::reset(int i): called for virtual function");
00097 };
|
|
|
Reimplemented in matvec::AlleleStateNode, matvec::AlleleOriginNode, and matvec::GenotypeNode. Definition at line 98 of file gnodestuff.h.
00098 {
00099 throw exception("GNode::resetAndSwitch(int i): called for virtual function");
00100 };
|
|
|
|
|
|
Referenced by matvec::GNodeList::peelCutAndSample(), and matvec::GNodeList::peelOrderCutAndSample(). |
|
|
|
|
|
Definition at line 48 of file gnodestuff.h. Referenced by matvec::GNodeList::calcDistancefrom(), matvec::Population::initAlleleNodeList(), matvec::Population::initGenotypeNodeList(), and matvec::Population::initJointAlleleNodeList(). |
|
|
Definition at line 44 of file gnodestuff.h. |
|
|
Definition at line 41 of file gnodestuff.cpp. |
|
|
Definition at line 47 of file gnodestuff.h. Referenced by matvec::GNodeList::calcDistancefrom(), matvec::GNodeList::findSampleGNode(), matvec::Population::initAlleleNodeList(), matvec::Population::initGenotypeNodeList(), matvec::Population::initJointAlleleNodeList(), matvec::GNodeList::peelCutAndCompute(), matvec::GNodeList::peelCutAndSample(), and matvec::GNodeList::peelOrderCutAndSample(). |
|
|
Definition at line 45 of file gnodestuff.h. |
|
|
Definition at line 49 of file gnodestuff.h. Referenced by matvec::Population::initAlleleNodeList(), matvec::Population::initGenotypeNodeList(), and matvec::Population::initJointAlleleNodeList(). |
|
|
Definition at line 46 of file gnodestuff.h. Referenced by matvec::GNodeList::fill(), and matvec::compareGNodesPeelId::operator()(). |
|
|
Definition at line 41 of file gnodestuff.h. Referenced by matvec::compareGNodesWeight::operator()(). |
|
|
Definition at line 61 of file gnodestuff.h. |
|
|
Definition at line 43 of file gnodestuff.h. Referenced by matvec::GNodeList::calcDistancefrom(), and matvec::GNodeList::inputGNodeSets(). |
|
|
Definition at line 42 of file gnodestuff.h. Referenced by matvec::GNodeList::fill(). |
1.2.16