コード例 #1
0
 private void dump()
 {
     [email protected](new StringBuilder().append(" ----- ").append(this.getTitle()).append(" ---- ").toString());
     for (int i = 0; i < this.getSuccessors().Length; i++)
     {
         SentenceHMMStateArc sentenceHMMStateArc = (SentenceHMMStateArc)this.getSuccessors()[i];
         [email protected](new StringBuilder().append("   -> ").append(sentenceHMMStateArc.getState().toPrettyString()).toString());
     }
 }
コード例 #2
0
        private void rawConnect(SentenceHMMStateArc sentenceHMMStateArc)
        {
            SentenceHMMState sentenceHMMState = (SentenceHMMState)sentenceHMMStateArc.getState();

            this.arcs.put(new StringBuilder().append(sentenceHMMState.getValueSignature()).append(sentenceHMMState.getStateNumber()).toString(), sentenceHMMStateArc);
        }