started working on the tex-part
started working on eval-graphics ned helper methods tested some new aspects some fixes and changes added some graphics new test-floorplan many cleanups
This commit is contained in:
@@ -61,14 +61,13 @@ public:
|
||||
weight *= beaconEval.getProbability(p.state, observation);
|
||||
}
|
||||
|
||||
// if (useStep) {
|
||||
// weight *= stepEval.getProbability(p.state, observation.step);
|
||||
// p.state.distanceWalkedCM = 0.0;
|
||||
// }
|
||||
if (useStep) {
|
||||
weight *= stepEval.getProbability(p.state, observation.step);
|
||||
}
|
||||
|
||||
// if (useTurn) {
|
||||
// weight *= turnEval.getProbability(p.state, observation.turn, true);
|
||||
// }
|
||||
if (useTurn) {
|
||||
weight *= turnEval.getProbability(p.state, observation.turn, true);
|
||||
}
|
||||
|
||||
// set and accumulate
|
||||
p.weight = weight;
|
||||
@@ -76,6 +75,11 @@ public:
|
||||
|
||||
}
|
||||
|
||||
// reset
|
||||
observation.step->steps = 0;
|
||||
observation.turn->delta_heading = 0;
|
||||
observation.turn->delta_motion = 0;
|
||||
|
||||
return sum;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user