RISC JKU

at.jku.risc.stout.nau.data.atom

Class Variable

  • All Implemented Interfaces:
    HasSort<Sort>


    public class Variable
    extends Object
    implements HasSort<Sort>
    A variable has a unique name and may be of sort data or sort atom.
    Author:
    Alexander Baumgartner
    • Constructor Detail

      • Variable

        public Variable(String name)
        Instantiates a variable of the specified name. Use the NodeFactory to create new Variables! The use of NodeFactory guarantees the uniqueness of equal Variables. This uniqueness enables very fast equality testing, hash-code generation, comparison of variables,... and it keeps the memory overhead as small as possible.