HMMState#

class pyopenms.HMMState#

Bases: object

Cython implementation of _HMMState

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: HMMState) None

Overload:

__init__(self, name: bytes | str | String, hidden: bool) None

Methods

__init__

Overload:

addPredecessorState(self, state)

Adds the given predecessor state to the list

addSuccessorState(self, state)

Add the given successor state to the list

deletePredecessorState(self, state)

Deletes the given predecessor state from the list

deleteSuccessorState(self, state)

Deletes the given successor state from the list

getName(self)

Returns the name of the state

getPredecessorStates(self)

Returns the predecessor states of the state

getSuccessorStates(self)

Returns the successor states of the state

isHidden(self)

Returns true if the state is hidden

setHidden(self, hidden)

Sets the hidden property to the state

setName(self, name)

Sets the name of the state

addPredecessorState(self, state: HMMState) None#

Adds the given predecessor state to the list

addSuccessorState(self, state: HMMState) None#

Add the given successor state to the list

deletePredecessorState(self, state: HMMState) None#

Deletes the given predecessor state from the list

deleteSuccessorState(self, state: HMMState) None#

Deletes the given successor state from the list

getName(self) bytes | str | String#

Returns the name of the state

getPredecessorStates(self) Set[HMMState]#

Returns the predecessor states of the state

getSuccessorStates(self) Set[HMMState]#

Returns the successor states of the state

isHidden(self) bool#

Returns true if the state is hidden

setHidden(self, hidden: bool) None#

Sets the hidden property to the state

setName(self, name: bytes | str | String) None#

Sets the name of the state