コード例 #1
0
 public EchoMotivationManager(IFoodSharingAgent agent)
     : base(agent)
 {
     this.Hunger = new Need("hunger", 1, 0, 0, 0)
     {
         Value = 1
     };
 }
コード例 #2
0
 public bool AteFood(IFoodSharingAgent agent)
 {
     return(this.CyclesWithoutEating[agent] < 1);
 }
コード例 #3
0
 public OthersHungerAltruismManager(IFoodSharingAgent agent) : base(agent)
 {
 }
コード例 #4
0
 public FoodCyclesPerceptionManager(IFoodSharingAgent agent) : base(agent)
 {
 }
コード例 #5
0
 public FoodCyclesAltruismManager(IFoodSharingAgent agent) : base(agent)
 {
 }
コード例 #6
0
 public OthersFitnessPerceptionManager(IFoodSharingAgent agent) : base(agent)
 {
 }
コード例 #7
0
 public AltruismPerceptionManager(IFoodSharingAgent agent)
     : base(agent)
 {
 }
コード例 #8
0
 protected FoodSharingSocialManager(IFoodSharingAgent agent) : base(agent)
 {
 }
コード例 #9
0
 public OthersFitnessAltruismManager(IFoodSharingAgent agent) : base(agent)
 {
     this.OtherFitAvg = new Dictionary <ISocialAgent, double>();
 }
コード例 #10
0
 public OthersEchoPerceptionManager(IFoodSharingAgent agent)
     : base(agent)
 {
 }