maint-speed.mas2j 5.96 KB
Newer Older
Alan White committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
MAS twtest {
	infrastructure: Centralised
   environment: truckworld.env.Cargoworld("paperWorld1.properties", "nrisk1/ndebil0.properties", "1", "maint-speed")

   agents:
   logisticshq [allowConfRelaxationForPMTs="true",
   				knownAgents="truck1, truck2, truck3, truck4, helicopter1, bulldozer1, bulldozer2, militaryhq", 
   				doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
			   	advertised="moveCargo, decontaminateRoad, secure, unblock, unstick",
			   	capabilities="consume",
			   	taskKnowledge="moveTo, load, unload, decontaminateRoad, secure, unblock, free"] 
   			agentArchClass agent.type.arch.MultiagentArch 
   			agentClass vehicle.TruckworldAgent
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
       		
   militaryhq [ allowConfRelaxationForPMTs="true",
   				knownAgents="hazmat1, apc1, hazmat2, apc2, logisticshq",
   				doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
			   	advertised="decontaminateRoad, secure, unblock, unstick",
			   	capabilities="",
			   	taskKnowledge="moveTo, decontaminate, secureArea, unblock, free"]
   			agentArchClass agent.type.arch.MultiagentArch 
   			agentClass vehicle.TruckworldAgent
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
  
  truck1 [knownAgents="logisticshq",
   			doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
		   	capabilities="move, load, unload, free", 
		   	advertised="load, unload, moveTo, free",
		   	taskKnowledge="moveAndClear, decontaminateRoad, secure, unblock, unstick"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.TruckAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
   	truck2 [knownAgents="logisticshq",
   			doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
		   	capabilities="move, load, unload, free", 
		   	advertised="load, unload, moveTo, free",//if we have them...
		   	taskKnowledge="moveAndClear, decontaminateRoad, secure, unblock, unstick"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.TruckAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
   	truck3 [knownAgents="logisticshq",
   			doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
		   	capabilities="move, load, unload, free", 
		   	advertised="load, unload, moveTo, free",//if we have them...
		   	taskKnowledge="moveAndClear, decontaminateRoad, secure, unblock, unstick"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.TruckAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
   	
  bulldozer1	[	knownAgents="logisticshq",
   					doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
					capabilities="move, unblock, free",
		   			advertised="unblock, moveTo, free",
		   			taskKnowledge="decontaminateRoad, secure, unstick"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.BulldozerAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
       		
  bulldozer2	[	knownAgents="logisticshq",
   					doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
					capabilities="move, unblock, free",
		   			advertised="unblock, moveTo, free",
		   			taskKnowledge="decontaminateRoad, secure, unstick"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.BulldozerAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
 
  helicopter1	[	knownAgents="logisticshq",
   				doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
  				capabilities="takeOff, land, fly, load, unload",
		   		advertised="moveTo, load, unload",
  				taskKnowledge="secure"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.HeliAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase; 
 
  	apc1	[	knownAgents="militaryhq", 
   				doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
  				capabilities="move, secureArea, free",
		   		advertised="moveTo, secureArea",
		   		taskKnowledge="moveAndClear, decontaminateRoad, unblock, unstick"]
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.ApcAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
  	apc2	[	knownAgents="militaryhq", 
   				doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
  				capabilities="move, secureArea, free",
		   		advertised="moveTo, secureArea",
		   		taskKnowledge="moveAndClear, decontaminateRoad, unblock, unstick"]
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.ApcAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;

  hazmat1	[	knownAgents="militaryhq",
   				doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed",  
  				capabilities="move, decontaminate, free",
		   		advertised="moveTo, decontaminate, free",
		   		taskKnowledge="moveAndClear, secure, unblock, unstick"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.HazmatAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;

  hazmat2	[	knownAgents="militaryhq",
   				doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-speed", 
  				capabilities="move, decontaminate, free",
		   		advertised="moveTo, decontaminate, free",
		   		taskKnowledge="moveAndClear, secure, unblock, unstick"] 
       		agentArchClass agent.type.arch.MultiagentArch
       		agentClass vehicle.HazmatAgent 
       		beliefBaseClass agent.beliefBase.WorldBeliefBase;
 
   aslSourcePath: "src/asl/truckworld"; 
}