|
StochHMM
v0.34
Flexible Hidden Markov Model C++ Library and Application
|
#include <index.h>
Public Member Functions | |
| Index () | |
| Create an index. | |
| Index (const Index &) | |
| Create an Index by copy. | |
| ~Index () | |
| Destroy Index. | |
| bool | isAmbiguous () |
| Returns whether there is an ambiguous character. | |
| void | setAmbiguous (const std::vector< size_t > &) |
| Index & | operator= (const Index &) |
| Set the Index as ambiguous. | |
| Index | operator+ (const Index &) |
| Assign Index. | |
| void | operator+= (const Index &) |
| Add Index. | |
| void | operator+= (const size_t) |
| Add and assign Index. | |
| void | operator*= (const size_t) |
| Add int to Index. | |
| Index | operator* (const size_t) |
| Multiply int to Index. | |
| size_t | size () |
| Multiply int to Index. | |
| size_t | operator[] (const size_t) |
| Get Number of indices. | |
Private Attributes | |
| size_t | index |
| std::vector< size_t > * | amb |
| bool | ambiguous |
| StochHMM::Index::Index | ( | ) |
| StochHMM::Index::Index | ( | const Index & | a | ) |
| StochHMM::Index::~Index | ( | ) |
|
inline |
| Index StochHMM::Index::operator* | ( | const size_t | lhs | ) |
| void StochHMM::Index::operator*= | ( | const size_t | lhs | ) |
Assign Index.
Add indexes together
| lhs |
Definition at line 86 of file index.cpp.
References StochHMM::addValueToVector(), StochHMM::addVectorCombinatorial(), amb, ambiguous, and index.
| void StochHMM::Index::operator+= | ( | const Index & | lhs | ) |
Add Index.
Add and Assign.
Definition at line 132 of file index.cpp.
References StochHMM::addValueToVector(), StochHMM::addVectorCombinatorial(), amb, ambiguous, and index.
| void StochHMM::Index::operator+= | ( | const size_t | lhs | ) |
Set the Index as ambiguous.
Assign Index by copy
| rhs |
Definition at line 66 of file index.cpp.
References amb, ambiguous, and index.
| size_t StochHMM::Index::operator[] | ( | const size_t | iter | ) |
| void StochHMM::Index::setAmbiguous | ( | const std::vector< size_t > & | vec | ) |
Definition at line 239 of file index.cpp.
References amb, and ambiguous.
Referenced by StochHMM::lexicalTable::getAmbiguousScore(), and StochHMM::lexicalTable::getReducedOrder().
| size_t StochHMM::Index::size | ( | ) |
Multiply int to Index.
Get the number of indices in Index.
Definition at line 208 of file index.cpp.
References amb, and ambiguous.
Referenced by StochHMM::lexicalTable::getAmbiguousScore(), and StochHMM::lexicalTable::getReducedOrder().
|
private |
Definition at line 70 of file index.h.
Referenced by Index(), operator*(), operator*=(), operator+(), operator+=(), operator=(), operator[](), setAmbiguous(), size(), and ~Index().
|
private |
Definition at line 71 of file index.h.
Referenced by Index(), isAmbiguous(), operator*(), operator*=(), operator+(), operator+=(), operator=(), operator[](), setAmbiguous(), and size().
|
private |
Definition at line 69 of file index.h.
Referenced by Index(), operator*(), operator*=(), operator+(), operator+=(), operator=(), and operator[]().
1.8.1