Download Presage2 Free Java Code
Description
PRESAGE is a simulation platform for rapid prototyping of Agent Societies. It enables designers to investigate the effect of agent design, network properties and the physical environment on individual agent behaviour and long term collective global performance.
Source Files
The download file Presage2-master.zip has the following entries.
.gitignore//from ww w .ja v a 2 s . co m
COPYING
COPYING.LESSER
core/.gitignore
core/README.markdown
core/pom.xml
core/src/main/java/uk/ac/imperial/presage2/core/Action.java
core/src/main/java/uk/ac/imperial/presage2/core/FinishTime.java
core/src/main/java/uk/ac/imperial/presage2/core/IntegerTime.java
core/src/main/java/uk/ac/imperial/presage2/core/Time.java
core/src/main/java/uk/ac/imperial/presage2/core/TimeDriven.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/FormattedSimulation.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/Presage2CLI.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/ExecutorManager.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/ExecutorModule.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/InsufficientResourcesException.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/LocalSubProcessExecutor.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/RemoteSubProcessExecutor.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/SimulationExecutor.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/StreamGobbler.java
core/src/main/java/uk/ac/imperial/presage2/core/cli/run/SubProcessExecutor.java
core/src/main/java/uk/ac/imperial/presage2/core/db/DatabaseModule.java
core/src/main/java/uk/ac/imperial/presage2/core/db/DatabaseService.java
core/src/main/java/uk/ac/imperial/presage2/core/db/StorageService.java
core/src/main/java/uk/ac/imperial/presage2/core/db/StubStorageService.java
core/src/main/java/uk/ac/imperial/presage2/core/db/persistent/PersistentAgent.java
core/src/main/java/uk/ac/imperial/presage2/core/db/persistent/PersistentEnvironment.java
core/src/main/java/uk/ac/imperial/presage2/core/db/persistent/PersistentSimulation.java
core/src/main/java/uk/ac/imperial/presage2/core/db/persistent/TransientAgentState.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/ActionHandler.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/ActionHandlingException.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/EnvironmentConnector.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/EnvironmentRegistrationRequest.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/EnvironmentRegistrationResponse.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/EnvironmentService.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/EnvironmentServiceProvider.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/EnvironmentSharedStateAccess.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/InvalidAuthkeyException.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/ParticipantSharedState.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/ServiceDependencies.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/SharedState.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/SharedStateAccessException.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/SharedStateStorage.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/StateTransformer.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/UnavailableServiceException.java
core/src/main/java/uk/ac/imperial/presage2/core/environment/UnregisteredParticipantException.java
core/src/main/java/uk/ac/imperial/presage2/core/event/Event.java
core/src/main/java/uk/ac/imperial/presage2/core/event/EventBus.java
core/src/main/java/uk/ac/imperial/presage2/core/event/EventBusImpl.java
core/src/main/java/uk/ac/imperial/presage2/core/event/EventBusModule.java
core/src/main/java/uk/ac/imperial/presage2/core/event/EventListener.java
core/src/main/java/uk/ac/imperial/presage2/core/messaging/Input.java
core/src/main/java/uk/ac/imperial/presage2/core/messaging/InputHandler.java
core/src/main/java/uk/ac/imperial/presage2/core/messaging/Performative.java
core/src/main/java/uk/ac/imperial/presage2/core/network/BasicNetworkConnector.java
core/src/main/java/uk/ac/imperial/presage2/core/network/BroadcastMessage.java
core/src/main/java/uk/ac/imperial/presage2/core/network/ConstrainedNetworkController.java
core/src/main/java/uk/ac/imperial/presage2/core/network/Message.java
core/src/main/java/uk/ac/imperial/presage2/core/network/MessageBlockedEvent.java
core/src/main/java/uk/ac/imperial/presage2/core/network/MessageDeliveryEvent.java
core/src/main/java/uk/ac/imperial/presage2/core/network/MulticastMessage.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkAdaptor.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkAddress.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkAddressFactory.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkChannel.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkConnector.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkConnectorFactory.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkConnectorWithNodeDiscovery.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkConstraint.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkController.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkException.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkGuiceModule.java
core/src/main/java/uk/ac/imperial/presage2/core/network/NetworkRegistrationRequest.java
core/src/main/java/uk/ac/imperial/presage2/core/network/Ping.java
core/src/main/java/uk/ac/imperial/presage2/core/network/Pong.java
core/src/main/java/uk/ac/imperial/presage2/core/network/RealNetworkConnectorFactory.java
core/src/main/java/uk/ac/imperial/presage2/core/network/RequiresRegistration.java
core/src/main/java/uk/ac/imperial/presage2/core/network/UnicastMessage.java
core/src/main/java/uk/ac/imperial/presage2/core/network/UnknownMessageTypeException.java
core/src/main/java/uk/ac/imperial/presage2/core/network/UnreachableRecipientException.java
core/src/main/java/uk/ac/imperial/presage2/core/participant/Participant.java
core/src/main/java/uk/ac/imperial/presage2/core/participant/ParticipantException.java
core/src/main/java/uk/ac/imperial/presage2/core/participant/ParticipantFactory.java
core/src/main/java/uk/ac/imperial/presage2/core/participant/ParticipantInitialisationException.java
core/src/main/java/uk/ac/imperial/presage2/core/participant/ParticipantRunTimeException.java
core/src/main/java/uk/ac/imperial/presage2/core/plugin/Plugin.java
core/src/main/java/uk/ac/imperial/presage2/core/plugin/PluginModule.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/EndOfTimeCycle.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/Events.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/ExecutorServiceThreadPool.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/FinalizeEvent.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/InjectedScenario.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/InjectedSimulation.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/MultiThreadedSimulator.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/Parameter.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/ParticipantsComplete.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/RunnableSimulation.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/Scenario.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/ScenarioBuilder.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/ScenarioModule.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/ScenarioSource.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/SimTime.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/Simulator.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/SimulatorModule.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/SingleThreadedSimulator.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/ThreadPool.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/Threads.java
core/src/main/java/uk/ac/imperial/presage2/core/simulator/UndefinedParameterException.java
core/src/main/java/uk/ac/imperial/presage2/core/util/random/Random.java
core/src/main/java/uk/ac/imperial/presage2/core/util/random/RandomFactory.java
core/src/main/java/uk/ac/imperial/presage2/core/util/random/RandomSeed.java
core/src/main/resources/log4j.properties
core/src/test/java/uk/ac/imperial/presage2/core/IntegerTimeTest.java
core/src/test/java/uk/ac/imperial/presage2/core/db/GenericStorageServiceTest.java
core/src/test/java/uk/ac/imperial/presage2/core/environment/EnvironmentConnectorTest.java
core/src/test/java/uk/ac/imperial/presage2/core/event/EventBusImplTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/BasicNetworkConnectorTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/BroadcastMessageTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/MessageTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/MultiCastMessageTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/NetworkAddressTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/NetworkConnectorTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/NetworkControllerTest.java
core/src/test/java/uk/ac/imperial/presage2/core/network/UniCastMessageTest.java
core/src/test/java/uk/ac/imperial/presage2/core/simulator/MultiThreadedSimulatorTest.java
core/src/test/java/uk/ac/imperial/presage2/core/simulator/ParameterTest.java
core/src/test/java/uk/ac/imperial/presage2/core/simulator/SimulatorTest.java
core/src/test/java/uk/ac/imperial/presage2/core/simulator/SingleThreadedSimulatorTest.java
core/src/test/resources/log4j.properties
header.txt
header2011.txt
pom.xml
readme.md
rules/pom.xml
rules/src/main/java/uk/ac/imperial/presage2/rules/MessagesToRuleEngine.java
rules/src/main/java/uk/ac/imperial/presage2/rules/RuleModule.java
rules/src/main/java/uk/ac/imperial/presage2/rules/RuleStorage.java
rules/src/main/java/uk/ac/imperial/presage2/rules/Rules.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/Agent.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/AgentStateFact.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/AgentStateTranslator.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/GenericAgentStateTranslator.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/GenericGlobalStateTranslator.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/SimParticipantsTranslator.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/StateFact.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/StateTranslator.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/location/Location.java
rules/src/main/java/uk/ac/imperial/presage2/rules/facts/location/LocationTranslator.java
util/.gitignore
util/pom.xml
util/src/main/java/uk/ac/imperial/presage2/util/environment/AbstractEnvironment.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/AbstractEnvironmentModule.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/CommunicationRangeService.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/CompositeServiceProvider.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/DeferActions.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/EnvironmentMembersService.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/MappedSharedState.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/ParticipantEnvironmentServices.java
util/src/main/java/uk/ac/imperial/presage2/util/environment/ParticipantGlobalEnvironmentServices.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/Action.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/AndCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/EventTypeCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/FSM.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/FSMDescription.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/FSMException.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/NotCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/OrCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/State.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/StateChangeListener.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/StateType.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/Transition.java
util/src/main/java/uk/ac/imperial/presage2/util/fsm/TransitionCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/location/CannotSeeAgent.java
util/src/main/java/uk/ac/imperial/presage2/util/location/Cell.java
util/src/main/java/uk/ac/imperial/presage2/util/location/CellMove.java
util/src/main/java/uk/ac/imperial/presage2/util/location/HasLocation.java
util/src/main/java/uk/ac/imperial/presage2/util/location/Location.java
util/src/main/java/uk/ac/imperial/presage2/util/location/LocationService.java
util/src/main/java/uk/ac/imperial/presage2/util/location/LocationStoragePlugin.java
util/src/main/java/uk/ac/imperial/presage2/util/location/Move.java
util/src/main/java/uk/ac/imperial/presage2/util/location/MoveHandler.java
util/src/main/java/uk/ac/imperial/presage2/util/location/ParticipantLocationService.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/Area.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/AreaService.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/EdgeException.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/EdgeHandler.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/ExceptionEdgeHandler.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/HasArea.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/SimArea.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/StopEdgeHandler.java
util/src/main/java/uk/ac/imperial/presage2/util/location/area/WrapEdgeHandler.java
util/src/main/java/uk/ac/imperial/presage2/util/network/DisconnectedNetworkConnector.java
util/src/main/java/uk/ac/imperial/presage2/util/network/DisconnectedNetworkController.java
util/src/main/java/uk/ac/imperial/presage2/util/network/NetworkMessageMonitor.java
util/src/main/java/uk/ac/imperial/presage2/util/network/NetworkModule.java
util/src/main/java/uk/ac/imperial/presage2/util/network/NetworkRangeConstraint.java
util/src/main/java/uk/ac/imperial/presage2/util/participant/AbstractParticipant.java
util/src/main/java/uk/ac/imperial/presage2/util/participant/HasCommunicationRange.java
util/src/main/java/uk/ac/imperial/presage2/util/participant/HasPerceptionRange.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/Conversation.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/ConversationCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/ConversationSpawnEvent.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/FSMConversation.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/FSMProtocol.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/InitialiseConversationAction.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/MessageAction.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/MessageTypeAndContentsCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/MessageTypeCondition.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/Protocol.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/Role.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/SpawnAction.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/Timeout.java
util/src/main/java/uk/ac/imperial/presage2/util/protocols/TimeoutCondition.java
util/src/test/java/uk/ac/imperial/presage2/util/environment/AbstractEnvironmentConnectorTest.java
util/src/test/java/uk/ac/imperial/presage2/util/environment/AbstractEnvironmentTest.java
util/src/test/java/uk/ac/imperial/presage2/util/fsm/AndConditionTest.java
util/src/test/java/uk/ac/imperial/presage2/util/fsm/EventTypeConditionTest.java
util/src/test/java/uk/ac/imperial/presage2/util/fsm/FSMDescriptionTest.java
util/src/test/java/uk/ac/imperial/presage2/util/fsm/FSMTest.java
util/src/test/java/uk/ac/imperial/presage2/util/fsm/NotConditionTest.java
util/src/test/java/uk/ac/imperial/presage2/util/fsm/OrConditionTest.java
util/src/test/java/uk/ac/imperial/presage2/util/location/TestLocation2D.java
util/src/test/java/uk/ac/imperial/presage2/util/location/TestLocationService.java
Download
Click the following link to download Presage2-master.zip.
Presage2-master.zip