public VacuumEnvironment(){
  Random r=new Random();
  envState=new VacuumEnvironmentState(0 == r.nextInt(2) ? LocationState.Clean : LocationState.Dirty,0 == r.nextInt(2) ? LocationState.Clean : LocationState.Dirty);
}

public VacuumEnvironment ( ) { Random r = new Random ( ) ; envState = new VacuumEnvironmentState ( 0 == r . nextInt ( 2 ) ? LocationState . Clean : LocationState . Dirty , 0 == r . nextInt ( 2 ) ? LocationState . Clean : LocationState . Dirty ) ; }
constructs a vacuum environment with two locations , in which dirt is placed at random .
