Commit 216c6a72 authored by Alan White's avatar Alan White

update

parent cd9249a5

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

//Truckworld/Pacifica inspired MAS
MAS twtest {
//note; other infrastructures not tested or supported
infrastructure: Centralised
environment: truckworld.env.Cargoworld("paperWorld2.properties", "nrisk2/ndebil05.properties", "1", "none")
/* 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 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
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 [knownAgents="truck1, truck2, truck3, truck4, helicopter1, bulldozer1, bulldozer2, militaryhq",
doMaintain="false", doReplan="false", pmMaxCost=5, 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 [ knownAgents="hazmat1, apc1, hazmat2, apc2, logisticshq",
doMaintain="false", doReplan="false", pmMaxCost=5, 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
*/
//trucks!
truck1 [knownAgents="logisticshq",
doMaintain="false", doReplan="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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="false", pmMaxCost=5, 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
fail, dependencyCancel, confirmContractWithObligant, obligantAccept, succeed, obligationMaintained, do, updatedContract, dependencyMaintained
6, 19, 718, 718, 700, 9, 706, 2802, 9
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
dependencyCancel, confirmContractWithObligant, obligantAccept, succeed, obligationMaintained, do, updatedContract, dependencyMaintained
8, 737, 737, 729, 2, 729, 2883, 2
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
fail, dependencyCancel, confirmContractWithObligant, obligantAccept, succeed, obligationMaintained, do, updatedContract, dependencyMaintained
1, 18, 740, 740, 722, 6, 723, 2840, 6
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
fail, dependencyCancel, confirmContractWithObligant, obligantAccept, succeed, obligationMaintained, obligantRefuse, do, updatedContract, dependencyMaintained
1, 23, 696, 696, 680, 9, 7, 681, 2642, 9
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
fail, dependencyCancel, confirmContractWithObligant, obligantAccept, succeed, obligationMaintained, obligantRefuse, do, updatedContract, dependencyMaintained
3, 19, 760, 760, 742, 5, 1, 745, 2916, 5
\ No newline at end of file
fail, dependencyCancel, confirmContractWithObligant, obligantAccept, succeed, obligationMaintained, obligantRefuse, do, updatedContract, dependencyMaintained
1, 9, 741, 741, 733, 4, 1, 734, 2907, 4
\ No newline at end of file
fail, dependencyCancel, confirmContractWithObligant, obligantAccept, succeed, obligationMaintained, do, updatedContract, dependencyMaintained
2, 14, 727, 727, 713, 9, 715, 2818, 9
\ No newline at end of file
Step, Calls, Success, Total gen time, Avg gen time, Total length, Avg length, logisticshq calls, logisticshq success, militaryhq calls, militaryhq success, apc calls, apc success, bulldozer calls, bulldozer success, hazmat calls, hazmat success, helicopter calls, helicopter success, truck calls, truck successMaint Calls, Maint Success, logisticshq calls, logisticshq success, militaryhq calls, militaryhq success, apc calls, apc success, bulldozer calls, bulldozer success, hazmat calls, hazmat success, helicopter calls, helicopter success, truck calls, truck success
940,0,0,0.0,0.0,0,0.0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2405,2,2,4.53496064E8,2.26748032E8,7,3.0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,2,2,0,0,0,0,2,1,0,0,0,0,0,0,1,1
4014,4,4,8.85531897E8,2.2138297425E8,15,3.0,1,1,0,0,2,2,0,0,0,0,0,0,1,1,4,4,1,0,0,0,3,2,0,0,0,0,0,0,1,1
5570,5,5,1.094446157E9,2.188892314E8,18,3.0,2,2,0,0,2,2,0,0,0,0,0,0,1,1,5,5,1,0,0,0,3,2,0,0,0,0,0,0,1,1
7145,7,7,1.37878408E9,1.969691542857143E8,24,3.0,3,3,0,0,3,3,0,0,0,0,0,0,1,1,7,7,1,0,0,0,4,3,0,0,0,0,0,0,1,1
8713,8,8,1.61369881E9,2.0171235125E8,27,3.0,4,4,0,0,3,3,0,0,0,0,0,0,1,1,8,8,1,0,0,0,4,3,0,0,0,0,0,0,1,1
10448,10,10,1.922465181E9,1.922465181E8,36,3.0,4,4,0,0,4,4,0,0,0,0,0,0,2,2,10,10,1,0,0,0,5,4,0,0,0,0,0,0,2,2
11977,11,11,2.154915006E9,1.959013641818182E8,39,3.0,5,5,0,0,4,4,0,0,0,0,0,0,2,2,11,11,1,0,0,0,5,4,0,0,0,0,0,0,2,2
13739,12,12,2.287890947E9,1.9065757891666666E8,42,3.0,6,6,0,0,4,4,0,0,0,0,0,0,2,2,12,12,1,0,0,0,5,4,0,0,0,0,0,0,2,2
17067,14,14,2.697218721E9,1.9265848007142857E8,48,3.0,8,8,0,0,4,4,0,0,0,0,0,0,2,2,14,14,1,0,0,0,5,4,0,0,0,0,0,0,2,2
18743,22,22,3.901804396E9,1.7735474527272728E8,73,3.0,9,9,1,1,6,6,3,3,0,0,0,0,3,3,22,22,1,0,1,0,7,6,3,3,0,0,0,0,3,3
20514,24,24,4.214837857E9,1.7561824404166666E8,81,3.0,10,10,1,1,7,7,3,3,0,0,0,0,3,3,24,24,1,0,1,0,8,7,3,3,0,0,0,0,3,3
21999,27,27,4.71004865E9,1.744462462962963E8,93,3.0,11,11,1,1,8,8,3,3,0,0,0,0,4,4,27,27,1,0,1,0,9,8,3,3,0,0,0,0,4,4
25328,28,28,4.833363188E9,1.7262011385714287E8,96,3.0,11,11,1,1,8,8,3,3,0,0,0,0,5,5,28,28,1,0,1,0,9,8,3,3,0,0,0,0,5,5
26879,31,31,5.38443781E9,1.736915422580645E8,108,3.0,12,12,1,1,8,8,3,3,0,0,0,0,7,7,31,31,1,0,1,0,9,8,3,3,0,0,0,0,7,7
28632,33,33,5.724291186E9,1.7346336927272728E8,117,3.0,13,13,1,1,8,8,3,3,0,0,0,0,8,8,33,33,1,0,1,0,9,8,3,3,0,0,0,0,8,8
30191,34,34,5.949941847E9,1.7499828961764705E8,120,3.0,14,14,1,1,8,8,3,3,0,0,0,0,8,8,34,34,1,0,1,0,9,8,3,3,0,0,0,0,8,8
31894,40,40,6.918249734E9,1.7295624335E8,144,3.0,16,16,2,2,11,11,3,3,0,0,0,0,8,8,40,40,1,0,1,0,12,11,3,3,0,0,0,0,8,8
33609,46,46,7.748360809E9,1.684426262826087E8,165,3.0,19,19,2,2,13,13,3,3,0,0,0,0,9,9,46,46,1,0,1,0,14,13,3,3,0,0,0,0,9,9
35365,49,49,8.198850746E9,1.673234846122449E8,176,3.0,20,20,2,2,14,14,3,3,0,0,0,0,10,10,49,49,1,0,1,0,15,14,3,3,0,0,0,0,10,10
36915,52,52,8.794007387E9,1.6911552667307693E8,185,3.0,23,23,2,2,14,14,3,3,0,0,0,0,10,10,52,52,1,0,1,0,15,14,3,3,0,0,0,0,10,10
38668,56,56,9.386468363E9,1.6761550648214287E8,201,3.0,25,25,2,2,15,15,3,3,0,0,0,0,11,11,56,56,1,0,1,0,16,15,3,3,0,0,0,0,11,11
40333,57,57,9.521973691E9,1.6705217001754385E8,204,3.0,26,26,2,2,15,15,3,3,0,0,0,0,11,11,57,57,1,0,1,0,16,15,3,3,0,0,0,0,11,11
42088,59,59,9.925673706E9,1.6823175772881356E8,210,3.0,28,28,2,2,15,15,3,3,0,0,0,0,11,11,59,59,1,0,1,0,16,15,3,3,0,0,0,0,11,11