Class LsaMolecule

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Dependency , it.unibo.alchemist.model.Molecule , it.unibo.alchemist.model.sapere.ILsaMolecule , java.io.Serializable , java.lang.Comparable , java.lang.Iterable

    
    public final class LsaMolecule
    extends SimpleMolecule implements ILsaMolecule
                        

    This class realizes an LsaMolecule, where arguments are of type Expression.

    • Constructor Detail

      • LsaMolecule

        LsaMolecule()
        Empty molecule, no arguments.
      • LsaMolecule

        LsaMolecule(List<IExpression> listArgs)
        Builds a new LsaMolecule by interpreting a list of IExpressions.
        Parameters:
        listArgs - the list of IExpressions
      • LsaMolecule

        LsaMolecule(LsaMolecule m)
        Very fast constructor, produces a copy of an LsaMolecule.
        Parameters:
        m - the LsaMolecule to copy
      • LsaMolecule

        LsaMolecule(String argsString)
        Builds a LsaMolecule by parsing the passed String.
        Parameters:
        argsString - the String to parse
      • LsaMolecule

        LsaMolecule(String argsString, String description)
        Builds a LsaMolecule by parsing the passed String.
        Parameters:
        argsString - the String to parse
        description - a String to append at the end of the LSA.