Documentation of 'org.jdmp.core.algorithm.AbstractAlgorithm' Java class
AbstractAlgorithm
org.jdmp.core.algorithm

Class AbstractAlgorithm

    • Constructor Detail

      • AbstractAlgorithm

        public AbstractAlgorithm()
    • Method Detail

      • setEdgeLabel

        public final void setEdgeLabel(java.lang.String key,
                                       java.lang.String edgeLabel)
        Specified by:
        setEdgeLabel in interface Algorithm
      • addVariableKey

        public final void addVariableKey(java.lang.String key)
        Specified by:
        addVariableKey in interface Algorithm
      • setVariables

        public final void setVariables(Variable... variables)
      • getVariableKeys

        public final java.util.List<java.lang.String> getVariableKeys()
        Specified by:
        getVariableKeys in interface Algorithm
      • getLabelObject

        public final java.lang.Object getLabelObject()
        Description copied from interface: HasLabel
        Returns the label of an object.
        Specified by:
        getLabelObject in interface HasLabel
        Returns:
        the label
      • getLabel

        public final java.lang.String getLabel()
        Description copied from interface: HasLabel
        Returns the String label of an object.
        Specified by:
        getLabel in interface HasLabel
        Returns:
        the label
      • setLabel

        public final void setLabel(java.lang.Object label)
        Description copied from interface: HasLabel
        Sets the label of an object
        Specified by:
        setLabel in interface HasLabel
        Parameters:
        label - the new label.
      • getId

        public final java.lang.String getId()
        Description copied from interface: HasId
        Returns the String id of an object.
        Specified by:
        getId in interface HasId
        Returns:
        the id
      • setId

        public final void setId(java.lang.String id)
        Description copied from interface: HasId
        Sets the id of an object
        Specified by:
        setId in interface HasId
        Parameters:
        id - the new id.
      • setDescription

        public final void setDescription(java.lang.String description)
        Specified by:
        setDescription in interface HasDescription
      • clear

        public final void clear()
        Specified by:
        clear in interface Clearable
      • calculate

        public final java.util.Map<java.lang.String,java.lang.Object> calculate()
        Specified by:
        calculate in interface Algorithm
      • getInputKeys

        public final java.util.List<java.lang.String> getInputKeys()
        Specified by:
        getInputKeys in interface Algorithm
      • getOutputKeys

        public final java.util.List<java.lang.String> getOutputKeys()
        Specified by:
        getOutputKeys in interface Algorithm
      • calculate

        public final java.util.Map<java.lang.String,java.lang.Object> calculate(Matrix... input)
        Specified by:
        calculate in interface Algorithm
      • calculateObjects

        public final java.util.Map<java.lang.String,java.lang.Object> calculateObjects(java.lang.Object... input)
        Specified by:
        calculateObjects in interface Algorithm
      • calculate

        public final java.util.Map<java.lang.String,java.lang.Object> calculate(double... input)
        Specified by:
        calculate in interface Algorithm
      • calculate

        public final java.util.Map<java.lang.String,java.lang.Object> calculate(java.util.List<Matrix> matrices)
        Specified by:
        calculate in interface Algorithm
      • calculateObjects

        public final java.util.Map<java.lang.String,java.lang.Object> calculateObjects(java.util.List<java.lang.Object> matrices)
        Specified by:
        calculateObjects in interface Algorithm
      • calculateObjects

        public java.util.Map<java.lang.String,java.lang.Object> calculateObjects(java.util.Map<java.lang.String,java.lang.Object> objects)
        Specified by:
        calculateObjects in interface Algorithm
      • getEdgeLabel

        public final java.lang.String getEdgeLabel(java.lang.String key)
        Specified by:
        getEdgeLabel in interface Algorithm

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.