question: 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 ) ; }
target:  Constructs a vacuum environment with two locations, in which dirt is placed at random.