org.metacsp.spatial.utility.SpatialAssertionalRelation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meta-csp-framework Show documentation
Show all versions of meta-csp-framework Show documentation
A Java API for Meta-CSP based reasoning
package org.metacsp.spatial.utility;
import org.metacsp.multi.spatial.blockAlgebra.UnaryBlockConstraint;
import org.metacsp.multi.spatial.rectangleAlgebra.UnaryRectangleConstraint;
import org.metacsp.multi.spatial.rectangleAlgebraNew.toRemove.OntologicalSpatialProperty;
public class SpatialAssertionalRelation extends AssertionalRelation{
private OntologicalSpatialProperty ontologicalProp;
private UnaryRectangleConstraint unaryRAConstraint;
private UnaryBlockConstraint unaryBAConstraint;
public SpatialAssertionalRelation(String from, String to) {
super(from, to);
// TODO Auto-generated constructor stub
}
public void setUnaryAtRectangleConstraint(UnaryRectangleConstraint unaryRAConstraint){
this.unaryRAConstraint = unaryRAConstraint;
}
public void setUnaryAtBlockConstraint(UnaryBlockConstraint unaryBAConstraint){
this.unaryBAConstraint = unaryBAConstraint;
}
public UnaryRectangleConstraint getUnaryAtRectangleConstraint(){
return this.unaryRAConstraint;
}
public UnaryBlockConstraint getUnaryAtBlockConstraint(){
return this.unaryBAConstraint;
}
public void setOntologicalProp(OntologicalSpatialProperty ontologicalProp) {
this.ontologicalProp = ontologicalProp;
}
public OntologicalSpatialProperty getOntologicalProp() {
return ontologicalProp;
}
}