public class CompleteModel extends AbstractModel
Complete model graph
Copyright: Copyright (c) 2005
Company: IST, Drexel University
name, numLabels| Constructor and Description |
|---|
CompleteModel(int labelNum) |
CompleteModel(int labelNum,
int markovOrder) |
| Modifier and Type | Method and Description |
|---|---|
EdgeIterator |
getEdgeIterator() |
int |
getEdgeNum() |
int |
getEndState(int i)
Gets the index-th ending state.
|
int |
getEndStateNum() |
int |
getLabel(int state)
Gets the label of the state.
|
int |
getMarkovOrder()
Gets the order of the markov chain.
|
int |
getOriginalLabelNum()
Gets the number of original unique labels no matter what order the markov chain is.
|
int |
getStartState(int i)
Gets the index-th starting state.
|
int |
getStartStateNum() |
boolean |
isEndState(int i)
Tests if the i-th state is an ending state
|
boolean |
isStartState(int i)
Tests if the i-th state is a starting state
|
getLabelNum, getNewModelGraph, getStateNum, mapLabelToState, mapLabelToState, mapStateToLabel, printGraphpublic CompleteModel(int labelNum)
public CompleteModel(int labelNum,
int markovOrder)
public int getOriginalLabelNum()
ModelGraphgetOriginalLabelNum in interface ModelGraphgetOriginalLabelNum in class AbstractModelpublic int getMarkovOrder()
ModelGraphgetMarkovOrder in interface ModelGraphgetMarkovOrder in class AbstractModelpublic int getLabel(int state)
ModelGraphstate - the index of the statepublic int getEdgeNum()
public int getStartStateNum()
public int getEndStateNum()
public int getStartState(int i)
ModelGraphi - the index-th starting statepublic int getEndState(int i)
ModelGraphi - the index-th ending statepublic boolean isEndState(int i)
ModelGraphi - the i-th statepublic boolean isStartState(int i)
ModelGraphi - the i-th statepublic EdgeIterator getEdgeIterator()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.