Blame view

src/mior/model/IMiorModel.java 868 Bytes
89f70c1ec   glaville   import current mc...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  package mior.model;
  
  
  public interface IMiorModel {
  	
  	public int getStep();
  	public MiorWorld getWorld();
  	public MiorOM[] getOMList();
  	public MiorMM[] getMMList();
  	//public int[] getAssociations();
  	public boolean isAccessible(int iMM, int iOM);
  	public boolean isAccessible(int iMM, int iOM, int iSim);
  	
  	public void addUpdateListener(IMiorUpdateListener listener);
  	public void removeUpdateListener(IMiorUpdateListener listener);
  	
  	public void setBatchModeEnabled(boolean b);
  	public boolean isBatchModeEnabled();
  	
  	public void setRandomEnabled(boolean b);
  	public boolean isRandomEnabled();
  	
  	public void setBlockSize(int blockSize);
  	public int getBlockSize();
  	
  	public boolean isFinished();
  	public int getNbSimulations();
  	
  	public void reset();
  	public void doTopology();
  	public void doLive();
  	public void doAutoLive();
  	
  	public void release();
  	
  }