Changeset 130


Ignore:
Timestamp:
07/20/11 11:16:01 (13 years ago)
Author:
sherbold
Message:
  • fixed output in calcCoverage
  • remaned command listStates to listSymbols
  • removed command numStates

+ added command modelSize that outputs the number of symbols in a model and its first-order markov model equivalent.

Location:
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands
Files:
1 added
1 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDcalcCoverage.java

    r127 r130  
    4646                } 
    4747                if( !(dataObjectProcess instanceof IStochasticProcess) ) { 
    48                         Console.printerrln("Object " + modelname + " not of type MarkovModel!"); 
     48                        Console.printerrln("Object " + modelname + " not of type IStochasticProcess!"); 
    4949                        return; 
    5050                } 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDlistSymbols.java

    r103 r130  
    1010import de.ugoe.cs.util.console.Console; 
    1111 
    12 public class CMDlistStates implements Command { 
     12public class CMDlistSymbols implements Command { 
    1313 
    1414        @Override 
     
    3434                } else { 
    3535                        model = (IStochasticProcess) dataObject; 
    36                         String[] stateStrings = model.getStateStrings(); 
     36                        String[] stateStrings = model.getSymbolStrings(); 
    3737                        if( sort ) { 
    3838                                Arrays.sort(stateStrings); 
Note: See TracChangeset for help on using the changeset viewer.