Ignore:
Timestamp:
04/14/11 11:12:06 (14 years ago)
Author:
sherbold
Message:
  • removed all reference to de.ugoe.cs.eventbench.MarkovModel? and replaced them with de.ugoe.cs.eventbench.models.FirstOrderMarkovModel? and de.ugoe.cs.eventbench.models.IStochasticProcess
File:
1 edited

Legend:

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

    r1 r18  
    88import de.ugoe.cs.eventbench.data.GlobalDataContainer; 
    99import de.ugoe.cs.eventbench.data.ReplayableEvent; 
    10 import de.ugoe.cs.eventbench.markov.MarkovModel; 
     10import de.ugoe.cs.eventbench.models.IStochasticProcess; 
    1111import de.ugoe.cs.util.console.Command; 
    1212import de.ugoe.cs.util.console.Console; 
     
    3636                } 
    3737                 
    38                 MarkovModel model = null;  
     38                IStochasticProcess model = null;  
    3939                Object dataObject = GlobalDataContainer.getInstance().getData(modelname); 
    4040                if( dataObject==null ) { 
    4141                        Console.println("Model " + modelname + " not found in storage."); 
    4242                } 
    43                 else if( !(dataObject instanceof MarkovModel) ) { 
     43                else if( !(dataObject instanceof IStochasticProcess) ) { 
    4444                        Console.println("Object " + modelname + " not of type MarkovModel!"); 
    4545                } else { 
    46                         model = (MarkovModel) dataObject; 
     46                        model = (IStochasticProcess) dataObject; 
    4747                        List<List<ReplayableEvent<?>>> sequences = new LinkedList<List<ReplayableEvent<?>>>(); 
    4848                        try { 
Note: See TracChangeset for help on using the changeset viewer.