Package 

Interface ILsaNode

  • All Implemented Interfaces:
    it.unibo.alchemist.model.interfaces.Node , java.io.Serializable , java.lang.Comparable , java.lang.Iterable

    
    public interface ILsaNode
     implements Node<List<ILsaMolecule>>
                        

    Interface for an LSA Node. Avoids the crappy casts.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void setConcentration(ILsaMolecule inst) Adds an instance of ILsaMolecule in the node's LsaSpace.
      abstract boolean removeConcentration(ILsaMolecule matchedInstance) Deletes an ILsaMolecule from the Node LsaSpace Warning: the method removes only the first matched ILsaMolecule.
      abstract List<ILsaMolecule> getLsaSpace()
      abstract List<ILsaMolecule> getConcentration(Molecule mol)
      • Methods inherited from class it.unibo.alchemist.model.interfaces.Node

        addReaction, cloneNode, contains, getContents, getId, getMoleculeCount, getReactions, hashCode, removeConcentration, removeReaction, setConcentration
      • Methods inherited from class java.lang.Iterable

        forEach, iterator, spliterator
      • Methods inherited from class java.lang.Comparable

        compareTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait