ARB
Public Member Functions | List of all members
PS_Node Class Reference

#include <ps_node.hxx>

Inheritance diagram for PS_Node:
Inheritance graph
[legend]
Collaboration diagram for PS_Node:
Collaboration graph
[legend]

Public Member Functions

void setNum (SpeciesID id)
 
SpeciesID getNum () const
 
bool addChild (PS_NodePtr &_child)
 
PS_NodePtr assertChild (SpeciesID _id)
 
pair< bool, PS_NodePtrgetChild (SpeciesID id)
 
pair< bool, const PS_NodePtrgetChild (SpeciesID id) const
 
size_t countChildren () const
 
bool hasChildren () const
 
PS_NodeMapIterator getChildrenBegin ()
 
PS_NodeMapRIterator getChildrenRBegin ()
 
PS_NodeMapConstIterator getChildrenBegin () const
 
PS_NodeMapConstRIterator getChildrenRBegin () const
 
PS_NodeMapIterator getChildrenEnd ()
 
PS_NodeMapRIterator getChildrenREnd ()
 
PS_NodeMapConstIterator getChildrenEnd () const
 
PS_NodeMapConstRIterator getChildrenREnd () const
 
bool addProbe (const PS_ProbePtr &probe)
 
void addProbes (PS_ProbeSetCIter _begin, PS_ProbeSetCIter _end)
 
void addProbesInverted (PS_ProbeSetCIter _begin, PS_ProbeSetCIter _end)
 
size_t countProbes () const
 
bool hasProbes () const
 
bool hasPositiveProbes () const
 
bool hasInverseProbes () const
 
PS_ProbeSetCIter getProbesBegin () const
 
PS_ProbeSetCIter getProbesEnd () const
 
void removeProbe (PS_ProbeSetCIter it)
 
void removeProbes ()
 
void print ()
 
void printOnlyMe () const
 
bool save (PS_FileBuffer *_fb)
 
bool saveASCII (PS_FileBuffer *_fb, char *buffer)
 
bool load (PS_FileBuffer *_fb)
 
bool append (PS_FileBuffer *_fb)
 
bool read (PS_FileBuffer *_fb, PS_Callback *_call_destination)
 
 PS_Node (SpeciesID id)
 
 ~PS_Node ()
 

Detailed Description

Definition at line 61 of file ps_node.hxx.

Constructor & Destructor Documentation

PS_Node::PS_Node ( SpeciesID  id)
inline

Definition at line 237 of file ps_node.hxx.

References id, and NULp.

PS_Node::~PS_Node ( )
inline

Definition at line 242 of file ps_node.hxx.

Member Function Documentation

void PS_Node::setNum ( SpeciesID  id)
inline

Definition at line 71 of file ps_node.hxx.

References id.

SpeciesID PS_Node::getNum ( ) const
inline
bool PS_Node::addChild ( PS_NodePtr _child)
inline

Definition at line 77 of file ps_node.hxx.

References getNum().

Referenced by main().

PS_NodePtr PS_Node::assertChild ( SpeciesID  _id)
inline

Definition at line 89 of file ps_node.hxx.

Referenced by PS_assert_inverse_path(), and PS_assert_path().

pair<bool, PS_NodePtr> PS_Node::getChild ( SpeciesID  id)
inline

Definition at line 101 of file ps_node.hxx.

Referenced by PS_Candidate::load(), and PS_print_and_evaluate_map().

pair<bool, const PS_NodePtr> PS_Node::getChild ( SpeciesID  id) const
inline

Definition at line 106 of file ps_node.hxx.

size_t PS_Node::countChildren ( ) const
inline
bool PS_Node::hasChildren ( ) const
inline

Definition at line 112 of file ps_node.hxx.

PS_NodeMapIterator PS_Node::getChildrenBegin ( )
inline
PS_NodeMapRIterator PS_Node::getChildrenRBegin ( )
inline

Definition at line 115 of file ps_node.hxx.

PS_NodeMapConstIterator PS_Node::getChildrenBegin ( ) const
inline

Definition at line 116 of file ps_node.hxx.

PS_NodeMapConstRIterator PS_Node::getChildrenRBegin ( ) const
inline

Definition at line 117 of file ps_node.hxx.

PS_NodeMapIterator PS_Node::getChildrenEnd ( )
inline
PS_NodeMapRIterator PS_Node::getChildrenREnd ( )
inline

Definition at line 119 of file ps_node.hxx.

PS_NodeMapConstIterator PS_Node::getChildrenEnd ( ) const
inline

Definition at line 120 of file ps_node.hxx.

PS_NodeMapConstRIterator PS_Node::getChildrenREnd ( ) const
inline

Definition at line 121 of file ps_node.hxx.

bool PS_Node::addProbe ( const PS_ProbePtr probe)
inline

Definition at line 126 of file ps_node.hxx.

Referenced by main().

void PS_Node::addProbes ( PS_ProbeSetCIter  _begin,
PS_ProbeSetCIter  _end 
)
inline

Definition at line 138 of file ps_node.hxx.

Referenced by PS_extract_probe_data().

void PS_Node::addProbesInverted ( PS_ProbeSetCIter  _begin,
PS_ProbeSetCIter  _end 
)
inline

Definition at line 146 of file ps_node.hxx.

Referenced by PS_extract_probe_data().

size_t PS_Node::countProbes ( ) const
inline

Definition at line 158 of file ps_node.hxx.

Referenced by PS_Candidate::printProbes(), and PS_remove_bad_probes().

bool PS_Node::hasProbes ( ) const
inline
bool PS_Node::hasPositiveProbes ( ) const
inline

Definition at line 160 of file ps_node.hxx.

Referenced by PS_detect_weak_differences_stepdown().

bool PS_Node::hasInverseProbes ( ) const
inline

Definition at line 168 of file ps_node.hxx.

Referenced by PS_detect_weak_differences_stepdown().

PS_ProbeSetCIter PS_Node::getProbesBegin ( ) const
inline

Definition at line 176 of file ps_node.hxx.

References ps_assert.

Referenced by main(), PS_Candidate::printProbes(), and PS_remove_bad_probes().

PS_ProbeSetCIter PS_Node::getProbesEnd ( ) const
inline

Definition at line 180 of file ps_node.hxx.

References ps_assert.

Referenced by PS_Candidate::printProbes(), and PS_remove_bad_probes().

void PS_Node::removeProbe ( PS_ProbeSetCIter  it)
inline

Definition at line 185 of file ps_node.hxx.

References ps_assert.

Referenced by PS_remove_bad_probes().

void PS_Node::removeProbes ( )
inline

Definition at line 189 of file ps_node.hxx.

References NULp.

Referenced by PS_get_next_candidates_descend().

void PS_Node::print ( )
inline

Definition at line 199 of file ps_node.hxx.

References fputc(), and PS_printProbe().

Referenced by main().

void PS_Node::printOnlyMe ( ) const
inline

Definition at line 214 of file ps_node.hxx.

References fputc(), and PS_printProbe().

Referenced by PS_find_probes_for_pairs().

bool PS_Node::save ( PS_FileBuffer _fb)

Definition at line 63 of file ps_node.cxx.

References PS_FileBuffer::put(), PS_FileBuffer::put_int(), and PS_FileBuffer::put_uint().

Referenced by main().

bool PS_Node::saveASCII ( PS_FileBuffer _fb,
char buffer 
)

Definition at line 19 of file ps_node.cxx.

References PS_FileBuffer::put(), and PS_FileBuffer::put_char().

Referenced by main().

bool PS_Node::load ( PS_FileBuffer _fb)

Definition at line 96 of file ps_node.cxx.

References PS_FileBuffer::get(), PS_FileBuffer::get_int(), PS_FileBuffer::get_uint(), getNum(), load(), and NULp.

Referenced by load(), and main().

bool PS_Node::append ( PS_FileBuffer _fb)

Definition at line 144 of file ps_node.cxx.

References append(), PS_FileBuffer::get(), PS_FileBuffer::get_int(), and PS_FileBuffer::get_uint().

Referenced by append().

bool PS_Node::read ( PS_FileBuffer _fb,
PS_Callback _call_destination 
)

The documentation for this class was generated from the following files: