Beispiel #1
0
    public Variable(ISemanticType type, int id) : base(type)
    {
        this.id        = id;
        this.isFormula = LogicalForm.IsFormulaType(type);

        this.freeVariables = new HashSet <Variable>();
        this.freeVariables.Add(this);
    }
Beispiel #2
0
 public Constant(ISemanticType type, int id) : base(type)
 {
     this.type      = type;
     this.id        = id;
     this.isFormula = LogicalForm.IsFormulaType(type);
 }