Java library for execution of discrete events simulations, for Java v1.6 or higher.
Anann is released under the GNU General Public License v3.0.
Anann has only one external dependence, which you can easily get rid of.
Anann can store its events in different structures, as long as they implement the org.anann.core.events.holder.EventsHolder
interface. Some implementations are already provided inside the org.anann.core.events.holder
package. The EHBasedOnGuavaTreeMultimap
class, as its name suggests, uses a com.google.common.collect.TreeMultimap
instance to store events. Thus, you will need Google's Guava (I have used v14.0.1) to compile that class. Other implementations of EventsHolder
are also available, so in case you do not want to include extra dependencies in your system you can just ignore that class even removing it, and use any of the other implementations.
There is an example of how to use this software in the org.anann.tests.PipeSimulation.java
file.
What does 'Anann' mean? I am fan of Tolkien works :) ! . Anann is "anann is a Sindarin word for a long time, as in Cuio anann, 'Long live [them]'" (Tolkien Gateway). And anann is intended to help you to manage precisely that: time (in your simulations).