Package 

Class ComparatorTreeNode

  • All Implemented Interfaces:
    it.unibo.alchemist.expressions.interfaces.ITreeNode , java.io.Serializable

    
    public final class ComparatorTreeNode
    extends ATreeNode<HashString>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Type getType()
      HashString getValue(Map<HashString, ITreeNode<out Object>> mp)
      String toString()
      • Methods inherited from class it.unibo.alchemist.expressions.implementations.ATreeNode

        equals, getData, getLeftChild, getNumberOfChildren, getRightChild, hashCode, toHashString
      • Methods inherited from class java.lang.Object

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

      • ComparatorTreeNode

        ComparatorTreeNode(HashString c, ITreeNode<out Object> left, ITreeNode<out Object> right)
        Builds a ComparatorTreeNode.
        Parameters:
        c - HashString representation of the comparator (operator of the comparison)
        left - the left child (a variable)
        right - the right child (an expression)