diff --git a/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala b/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala index 92f1b8274715affc849338a2921e9296954948d7..c1d9071f08c27e1e4e0160212eb864df9f5871dd 100755 --- a/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala +++ b/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala @@ -453,6 +453,11 @@ class AgentBehaviour(variable: Variable, */ when(ActSolo){ + // When it receives a reject it does NOTHING + case Event(Reject(_), mind) => + if (debug) println(s"$variable in $stateName has received Reject and ignores it") + stay using mind + // When it should act because it has the highest delta in the neighbourhood case Event(Act(true, Some(move)), mind) => if (debug) println(s"$variable in $stateName has received Act(true)")