Commit 1e545940 authored by Alan White's avatar Alan White

laptop

parent db3f42de
//Truckworld/Pacifica inspired MAS
MAS twtest {
//note; other infrastructures not tested or supported
infrastructure: Centralised
environment: truckworld.env.Cargoworld("paperWorld1.properties", "w1/testProbFloodMode.properties", "1", "replan")
//1234567890
/* Agent args;
knownAgents - if set, defines a fixed list of agents from whom we receive capability notices. If
not set, then we just accept advertisements from everyone
doMaintain - if true, attempts maintenance / pre-emptive plan repair tasks
doMaintain - if true, attempts replanning at progressive levels of abstraction when a task or delegated task fails
mpMaxCost - planning cost maximum limit for precond maint tasks
domain - domain name used to get primitive capability/goal task factory object
capabilities - names of primitive capabilities (for use in factory)
advertised - names of capabilities - both composite and primitive - which are to be advertised
to other agent for potential use as delegated tasks.
taskKnowledge - goal tasks known, and which we are interested in externalCapabilities for.
*/
agents:
//STRATEGIC
//logistics / commander
//cargo delivery tasks, road clearance
logisticshq [allowConfRelaxationForPMTs="true",
knownAgents="truck1, truck2, truck3, truck4, helicopter1, bulldozer1, bulldozer2, militaryhq",
doMaintain="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
advertised="moveCargo, decontaminateRoad, secure, unblock, unstick",
capabilities="consume", //pcs - none, no effectors
taskKnowledge="moveTo, load, unload, decontaminateRoad, secure, unblock, free"]
agentArchClass agent.type.arch.MultiagentArch
agentClass vehicle.TruckworldAgent
beliefBaseClass agent.beliefBase.WorldBeliefBase;
//military HQ
//secure area, decontaminate, high cost cargo move
militaryhq [ allowConfRelaxationForPMTs="true",
knownAgents="hazmat1, apc1, hazmat2, apc2, apc3, apc4, logisticshq",
doMaintain="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
advertised="decontaminateRoad, secure, unblock, unstick", //add move-and-clear from organized children...
capabilities="",
taskKnowledge="moveTo, decontaminate, secureArea, unblock, free"]
agentArchClass agent.type.arch.MultiagentArch
agentClass vehicle.TruckworldAgent
beliefBaseClass agent.beliefBase.WorldBeliefBase;
// OPERATIONAL LEVEL AGENTS!
/* Trucks move cargo
* Bulldozers clear roads
* Repair vehicles can tow others to repair sites and fix them
* APCs secure areas and remove danger zones
* Helicopters move cargo, but at high cost
* Hazmats decontaminate toxic roads
* Cranes move cargo between colocated vehicles (TODO)
*/
//trucks!
truck1 [knownAgents="logisticshq",
doMaintain="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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;
truck2 [knownAgents="logisticshq",
doMaintain="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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;
helicopter1 [ knownAgents="logisticshq",
doMaintain="true", doReplan="false", pmMaxCost=25, domain="truckworld", planningMode="-quality",
capabilities="takeOff, land, fly, load, unload",
advertised="moveTo, load, unload",
taskKnowledge="secure"]
agentArchClass agent.type.arch.MultiagentArch
agentClass vehicle.HeliAgent
beliefBaseClass agent.beliefBase.WorldBeliefBase;
//bulldozer agent(s)
bulldozer1 [ knownAgents="logisticshq",
doMaintain="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
capabilities="move, unblock, free",
advertised="unblock, moveTo, free",
taskKnowledge="decontaminateRoad, secure, unstick"]
agentArchClass agent.type.arch.MultiagentArch
agentClass vehicle.BulldozerAgent
beliefBaseClass agent.beliefBase.WorldBeliefBase;
apc1 [ knownAgents="militaryhq",
doMaintain="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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="false", doReplan="true", continuous="true", pmMaxCost=10, domain="truckworld",
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";
}
\ No newline at end of file
note:
none should be ok - don't use bulldozers
maintain - need to check;
nr0 - looks ok
nr1/pw1 -
nr1/pw2 -
nr2/pw1 -
nr2/pw2 -
nr3/pw1 -
nr3/pw2 -
\ No newline at end of file
......@@ -3,7 +3,7 @@
MAS twtest {
//note; other infrastructures not tested or supported
infrastructure: Centralised
environment: truckworld.env.Cargoworld("paperWorld1.properties", "nrisk3/ndebil0.properties", "5","maint-speed")
environment: truckworld.env.Cargoworld("paperWorld1.properties", "nrisk1/ndebil0.properties", "10","maint-speed")
agents:
......
//Truckworld/Pacifica inspired MAS
MAS twtest {
MAS twtest {
//note; other infrastructures not tested or supported
infrastructure: Centralised
environment: truckworld.env.Cargoworld("paperWorld2.properties", "nrisk2/ndebil075.properties", "1", "none")
/*
Env args; the properties file used to procedurally generate the world
*/
environment: truckworld.env.Cargoworld("paperWorld2.properties", "nrisk2/ndebil075.properties", "8", "none")
//.25 = 4 6
//.75 = 2 4 8
/* Agent args;
knownAgents - if set, defines a fixed list of agents from whom we receive capability notices. If
not set, then we just accept advertisements from everyone
doMaintain - if true, attempts maintenance / pre-emptive plan repair tasks
doMaintain - if true, attempts replanning at progressive levels of abstraction when a task or delegated task fails
mpMaxCost - planning cost maximum limit for precond maint tasks
mpMaxCost - planning cost maximum limit for prec ond maint tasks
domain - domain name used to get primitive capability/goal task factory object
capabilities - names of primitive capabilities (for use in factory)
advertised - names of capabilities - both composite and primitive - which are to be advertised
......
......@@ -3,7 +3,7 @@
MAS twtest {
//note; other infrastructures not tested or supported
infrastructure: Centralised
environment: truckworld.env.Cargoworld("paperWorld1.properties", "nonDetnonDebilSim.properties", "1", "replan-cont")
environment: truckworld.env.Cargoworld("paperWorld1.properties", "nonDetnonDebilSim.properties", "10", "replan-cont")
//1234567890
/* Agent args;
......
......@@ -3,14 +3,8 @@
MAS twtest {
//note; other infrastructures not tested or supported
infrastructure: Centralised
<<<<<<< HEAD
environment: truckworld.env.Cargoworld("paperWorld1.properties", "nrisk3/ndebil0.properties", "3", "replan")
=======
environment: truckworld.env.Cargoworld("paperWorld2.properties", "nonDetnonDebilSim.properties", "6", "replan")
environment: truckworld.env.Cargoworld("paperWorld1.properties", "nonDetnonDebilSim.properties", "10", "replan")
>>>>>>> 05cc582c641f987af4f3e18670985a1c2c20708f
/* Agent args;
knownAgents - if set, defines a fixed list of agents from whom we receive capability notices. If
not set, then we just accept advertisements from everyone
......
This diff is collapsed.
echo "Start run for 1 - 10" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 1
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 1" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 2
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 2" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 3
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 3" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 4
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 4" >> testRun.log
rm mmas-*.log*
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 5
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 5" >> testRun.log
rm mmas-*.log*
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 6
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 6" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 7
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 7" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 8
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 8" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 9
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 9" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm maintTest.mas2j
python createExperimentConfig.py maint-template.mas2j maintTest paperWorld1 nrisk3 ndebil075 10
java -jar campBDI.jar maintTest.mas2j
echo "Completed run for 10" >> testRun.log
\ No newline at end of file
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 6
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 6" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 6
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 6" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 6
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 6" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 6
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 6" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 7
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 7" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 7
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 7" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 7
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 7" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 7
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 7" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 8
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 8" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 8
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 8" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 8
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 8" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 8
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 8" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 9
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 9" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 9
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 9" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 9
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 9" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 9
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 9" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 10
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 10" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 10
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 10" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 10
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 10" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm noneTest.mas2j
python createExperimentConfig.py none-template.mas2j noneTest paperWorld1 nrisk2 ndebil025 10
java -jar campBDI.jar noneTest.mas2j
echo "Completed run for 10" >> testRun.log
\ No newline at end of file
This diff is collapsed.
echo "Start run for 1 - 4" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 1
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 1" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 2
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 2" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 3
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 3" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 4
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 4" >> testRun.log
echo "Start run for 1 - 4" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 5
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 5" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 6
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 6" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 7
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 7" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 8
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 8" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 9
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 9" >> testRun.log
rm mmas-*.log*
rm planner/*.pddl
rm planner/*.SOL
rm replanTest.mas2j
python createExperimentConfig.py replan-template.mas2j replanTest paperWorld2 nrisk3 ndebil0 10
java -jar campBDI.jar replanTest.mas2j
echo "Completed run for 10" >> testRun.log
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment