complement
Description:
public WorldState complement (
WorldState ws2,
bool
sensor_complement)
Finds observations that exist in the supplied world state that don't exist in the predictions for this state. (Relative complement of ws2
in the context of the world state).
Parameters:
ws2 |
containing observations to check |
sensorComplement |
if true the method will only compare sensor ids, not their content |
Returns:
A WorldState of observations that exist in the supplied world state but not this world state's predictions. |