private isConsistent ( Object>.Map |
||
x | Object>.Map | |
e | AssignmentProposition | |
return | bool |
private bool isConsistent(Map<RandomVariable, Object> x,
AssignmentProposition[] e)
{
foreach (AssignmentProposition ap in e)
{
if (!ap.getValue().Equals(x.get(ap.getTermVariable())))
{
return false;
}
}
return true;
}
}