Skip to content
Snippets Groups Projects
Commit b63b3d7b authored by Alex's avatar Alex
Browse files

fixed makeOffer and informDelta

parent 1958d786
Branches
No related tags found
No related merge requests found
......@@ -66,6 +66,17 @@ class AgentBehaviour(variable: Variable,
*/
when(Continue) {
//
case Event(MakeOffer(_), mind) => {
stash
stay using mind
}
case Event(InformDelta(_), mind) => {
stash
stay using mind
}
//When the supervisor tells it to stop
case Event(StopAlgo, mind) =>
if (debug) println(s"$variable in $stateName has StopAlgo")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment