Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Jaffee <zij@case.edu>
  • Loading branch information
ZJaffee committed Mar 24, 2015
0 parents commit 0964bbc
Show file tree
Hide file tree
Showing 18 changed files with 1,638 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="/Users/jacquelinesamuels-jaffee/Desktop/SophomoreCWRU/AI/HW3/lib/Sepia.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>HW3</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Binary file added bin/edu/cwru/sepia/agent/planner/GameState.class
Binary file not shown.
Binary file added bin/edu/cwru/sepia/agent/planner/PEAgent.class
Binary file not shown.
Binary file not shown.
Binary file added bin/edu/cwru/sepia/agent/planner/Position.class
Binary file not shown.
Binary file not shown.
37 changes: 37 additions & 0 deletions data/midasLarge.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<Configuration>
<Map>data/rc_3m5t.xml</Map>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.planner.PlannerAgent</ClassName>
<Argument>1000</Argument>
<Argument>1000</Argument>
<Argument>false</Argument>
</AgentClass>
</Player>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.visual.VisualAgent</ClassName>
<Argument>true</Argument>
<Argument>false</Argument>
</AgentClass>
</Player>
<ModelParameters>
<Conquest>false</Conquest>
<Midas>true</Midas>
<Requirement Name="environment.model.RequiredGold" Value="1000"/>
<Requirement Name="environment.model.RequiredWood" Value="1000"/>
<ManifestDestiny>false</ManifestDestiny>
<TimeLimit>100000</TimeLimit>
</ModelParameters>
<Runner>
<RunnerClass>edu.cwru.sepia.experiment.SimpleModelEpisodicRunner</RunnerClass>
<Parameter Name="experiment.NumEpisodes" Value="100"/>
<Parameter Name="experiment.EpisodesPerSave" Value="10"/>
<Parameter Name="experiment.SaveAgents" Value="false"/>
<Parameter Name="experiment.episodesperagentsave" Value="4" />
<Parameter Name="experiment.episodesperreplaysave" Value="4" />
<Parameter Name="experiment.save.replaydirectory" Value="saves/test1" />
<Parameter Name="experiment.save.agentdirectory" Value="saves/test1" />
<Parameter Name="experiment.temp.thing" Value="saves/test1" />
</Runner>
</Configuration>
37 changes: 37 additions & 0 deletions data/midasLarge_BuildPeasant.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<Configuration>
<Map>data/rc_3m5t.xml</Map>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.planner.PlannerAgent</ClassName>
<Argument>3000</Argument>
<Argument>2000</Argument>
<Argument>true</Argument>
</AgentClass>
</Player>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.visual.VisualAgent</ClassName>
<Argument>true</Argument>
<Argument>false</Argument>
</AgentClass>
</Player>
<ModelParameters>
<Conquest>false</Conquest>
<Midas>true</Midas>
<Requirement Name="environment.model.RequiredGold" Value="3000"/>
<Requirement Name="environment.model.RequiredWood" Value="2000"/>
<ManifestDestiny>false</ManifestDestiny>
<TimeLimit>100000</TimeLimit>
</ModelParameters>
<Runner>
<RunnerClass>edu.cwru.sepia.experiment.SimpleModelEpisodicRunner</RunnerClass>
<Parameter Name="experiment.NumEpisodes" Value="100"/>
<Parameter Name="experiment.EpisodesPerSave" Value="10"/>
<Parameter Name="experiment.SaveAgents" Value="false"/>
<Parameter Name="experiment.episodesperagentsave" Value="4" />
<Parameter Name="experiment.episodesperreplaysave" Value="4" />
<Parameter Name="experiment.save.replaydirectory" Value="saves/test1" />
<Parameter Name="experiment.save.agentdirectory" Value="saves/test1" />
<Parameter Name="experiment.temp.thing" Value="saves/test1" />
</Runner>
</Configuration>
37 changes: 37 additions & 0 deletions data/midasSmall.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<Configuration>
<Map>data/rc_3m5t.xml</Map>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.planner.PlannerAgent</ClassName>
<Argument>200</Argument>
<Argument>200</Argument>
<Argument>false</Argument>
</AgentClass>
</Player>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.visual.VisualAgent</ClassName>
<Argument>true</Argument>
<Argument>false</Argument>
</AgentClass>
</Player>
<ModelParameters>
<Conquest>false</Conquest>
<Midas>true</Midas>
<Requirement Name="environment.model.RequiredGold" Value="200"/>
<Requirement Name="environment.model.RequiredWood" Value="200"/>
<ManifestDestiny>false</ManifestDestiny>
<TimeLimit>100000</TimeLimit>
</ModelParameters>
<Runner>
<RunnerClass>edu.cwru.sepia.experiment.SimpleModelEpisodicRunner</RunnerClass>
<Parameter Name="experiment.NumEpisodes" Value="100"/>
<Parameter Name="experiment.EpisodesPerSave" Value="10"/>
<Parameter Name="experiment.SaveAgents" Value="false"/>
<Parameter Name="experiment.episodesperagentsave" Value="4" />
<Parameter Name="experiment.episodesperreplaysave" Value="4" />
<Parameter Name="experiment.save.replaydirectory" Value="saves/test1" />
<Parameter Name="experiment.save.agentdirectory" Value="saves/test1" />
<Parameter Name="experiment.temp.thing" Value="saves/test1" />
</Runner>
</Configuration>
37 changes: 37 additions & 0 deletions data/midasSmall_BuildPeasant.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<Configuration>
<Map>data/rc_3m5t.xml</Map>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.planner.PlannerAgent</ClassName>
<Argument>700</Argument>
<Argument>700</Argument>
<Argument>true</Argument>
</AgentClass>
</Player>
<Player Id="0">
<AgentClass>
<ClassName>edu.cwru.sepia.agent.visual.VisualAgent</ClassName>
<Argument>true</Argument>
<Argument>false</Argument>
</AgentClass>
</Player>
<ModelParameters>
<Conquest>false</Conquest>
<Midas>true</Midas>
<Requirement Name="environment.model.RequiredGold" Value="1000"/>
<Requirement Name="environment.model.RequiredWood" Value="1000"/>
<ManifestDestiny>false</ManifestDestiny>
<TimeLimit>100000</TimeLimit>
</ModelParameters>
<Runner>
<RunnerClass>edu.cwru.sepia.experiment.SimpleModelEpisodicRunner</RunnerClass>
<Parameter Name="experiment.NumEpisodes" Value="100"/>
<Parameter Name="experiment.EpisodesPerSave" Value="10"/>
<Parameter Name="experiment.SaveAgents" Value="false"/>
<Parameter Name="experiment.episodesperagentsave" Value="4" />
<Parameter Name="experiment.episodesperreplaysave" Value="4" />
<Parameter Name="experiment.save.replaydirectory" Value="saves/test1" />
<Parameter Name="experiment.save.agentdirectory" Value="saves/test1" />
<Parameter Name="experiment.temp.thing" Value="saves/test1" />
</Runner>
</Configuration>
Loading

0 comments on commit 0964bbc

Please sign in to comment.