COSMIC

From SwarmWiki

Jump to: navigation, search

cosmic.utils

A Java package of general utility classes for Java Swarm simulations, containing the following classes:

  • Adjudicator: A class for choosing the 'best' among several candidates according to some user-supplied criterion, with ties resolved randomly.
  • Date: A class with date methods to convert between Julian day and Gregorian date.
  • ImmutableIterator: A class of iterator that does not allow modification of the underlying collection.
  • Misc: A general utility class with various value conversion and input methods.
  • SequenceAverager: A class for efficiently averaging over a set number of the most recent values in a continuous sequence.

Provided by the Complex Systems Modelling Group at Imperial College (COSMIC).

Download from http://ftp.swarm.org/pub/swarm/apps/java/contrib/