Package 

Interface Extractor


  • 
    public interface Extractor
    
                        

    An object that is able to extract numeric informations from an Alchemist Environment, given the current it.unibo.alchemist.core.interfaces.SimulationTime, the last Reaction executed and the current simulation step.

    • Method Summary

      Modifier and Type Method Description
      abstract <T> Array<double> extractData(Environment<T, out Object> environment, Reaction<T> reaction, Time time, long step) Extracts numeric properties from an environment.
      abstract List<String> getNames()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • extractData

         abstract <T> Array<double> extractData(Environment<T, out Object> environment, Reaction<T> reaction, Time time, long step)

        Extracts numeric properties from an environment.

        Parameters:
        environment - the Environment
        reaction - the last executed Reaction
        time - the current Time
        step - the simulation step