public static ContinueToCallAgent Instantiate(CallAgent agent, Context context, IContinuation succ, IFailure fail)
        {
            ContinueToCallAgent continuer = new ContinueToCallAgent(agent, succ);
            continuer.SetResult(new TwoTuple<Context, IFailure>(context, fail), context.Weight, "ContinueToCallAgent: Instantiate");

            return continuer;
        }
        public static ContinueToCallAgent Instantiate(CallAgent agent, Context context, IContinuation succ, IFailure fail)
        {
            ContinueToCallAgent continuer = new ContinueToCallAgent(agent, succ);

            continuer.SetResult(new TwoTuple <Context, IFailure>(context, fail), context.Weight, "ContinueToCallAgent: Instantiate");

            return(continuer);
        }
 public ContinueToCallAgent(CallAgent agent, IContinuation succ)
     : base(agent.Salience, 2 * 4 + agent.Space, agent.Time, succ)
 {
     this.agent = agent;
 }
 public ContinueToCallAgent(CallAgent agent, IContinuation succ)
     : base(agent.Salience, 2 * 4 + agent.Space, agent.Time, succ)
 {
     this.agent = agent;
 }