Newer
Older
ResourceDependencyLogic / src / models / terms / meta / MetaRDLTermVariable.java
@Sakoda2269 Sakoda2269 on 23 Oct 778 bytes ディレクトリ変更
package models.terms.meta;

import models.algebra.Constant;
import models.algebra.Expression;
import models.algebra.Symbol;
import models.algebra.Variable;

public class MetaRDLTermVariable extends MetaVariable {
	
	public MetaRDLTermVariable(Variable variableName, OrderConstraint constraint, Expression order) {
		super(new Symbol("", -1), MetaRDLTerm.TermType.META_RDL_TERM, variableName, constraint, order);
	}
	
	public MetaRDLTermVariable(Variable variableName) {
		super(new Symbol("", -1), MetaRDLTerm.TermType.META_RDL_TERM, variableName, OrderConstraint.ANY, new Constant("0"));
	}
	
	public MetaRDLTermVariable(Variable variableName, Expression order) {
		super(new Symbol("", -1), MetaRDLTerm.TermType.META_RDL_TERM, variableName, OrderConstraint.EQ, order);
	}
	
}