Hidden Markov Model State class for the Hidden Markov Model. More...
#include <OpenMS/ANALYSIS/ID/HiddenMarkovModel.h>
Public Member Functions | |
| HMMState & | operator= (const HMMState &) |
Constructors and destructors | |
| HMMState () | |
| default constructor More... | |
| HMMState (const HMMState &state) | |
| copy constructor More... | |
| HMMState (const String &name, bool hidden=true) | |
| constructor with name and visibility option More... | |
| virtual | ~HMMState () |
| destructor More... | |
| void | setName (const String &name) |
| sets the name of the state More... | |
| const String & | getName () const |
| returns the name of the state More... | |
| void | setHidden (bool hidden) |
| sets the hidden property to the state More... | |
| bool | isHidden () const |
| returns true if the state is hidden More... | |
| void | addPredecessorState (HMMState *state) |
| adds the given predecessor state to the list More... | |
| void | deletePredecessorState (HMMState *state) |
| deletes the given predecessor state from the list More... | |
| void | addSuccessorState (HMMState *state) |
| add the given successor state to the list More... | |
| void | deleteSuccessorState (HMMState *state) |
| deletes the given successor state from the list More... | |
| const std::set< HMMState * > & | getPredecessorStates () const |
| returns the predecessor states of the state More... | |
| const std::set< HMMState * > & | getSuccessorStates () const |
| return the successor states of the state More... | |
Protected Attributes | |
| bool | hidden_ |
| String | name_ |
| std::set< HMMState * > | pre_states_ |
| std::set< HMMState * > | succ_states_ |
Hidden Markov Model State class for the Hidden Markov Model.
| HMMState | ( | ) |
default constructor
|
virtual |
destructor
| void addPredecessorState | ( | HMMState * | state | ) |
adds the given predecessor state to the list
| void addSuccessorState | ( | HMMState * | state | ) |
add the given successor state to the list
| void deletePredecessorState | ( | HMMState * | state | ) |
deletes the given predecessor state from the list
| void deleteSuccessorState | ( | HMMState * | state | ) |
deletes the given successor state from the list
| const String& getName | ( | ) | const |
returns the name of the state
| const std::set<HMMState *>& getPredecessorStates | ( | ) | const |
returns the predecessor states of the state
| const std::set<HMMState *>& getSuccessorStates | ( | ) | const |
return the successor states of the state
| bool isHidden | ( | ) | const |
returns true if the state is hidden
| void setHidden | ( | bool | hidden | ) |
sets the hidden property to the state
| void setName | ( | const String & | name | ) |
sets the name of the state
Accessors
|
protected |
|
protected |
|
protected |
|
protected |
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:26 using doxygen 1.8.5 |