public class ObjectSimulator {
static int objid = 0;
-
+
int oid;
ClassDescriptor cd;
FlagState currentFS;
boolean shared;
boolean hold;
int version;
-
+
// TODO, crack for KMeans
int counter;
- public ObjectSimulator(ClassDescriptor cd,
- FlagState currentFS) {
+ public ObjectSimulator(ClassDescriptor cd,
+ FlagState currentFS) {
super();
this.oid = ObjectSimulator.objid++;
this.cd = cd;
this.changed = true;
currentFS = (FlagState)fedge.getTarget();
if(this.counter > 0) {
- //System.err.println(this.counter);
- this.counter--;
+ //System.err.println(this.counter);
+ this.counter--;
}
if((this.cd.getSymbol().equals("Cluster")) && (this.counter == 0)) {
- // go to end state
- this.currentFS = new FlagState(this.cd);
+ // go to end state
+ this.currentFS = new FlagState(this.cd);
}
} else {
this.changed = false;