public ObjectAttribute(OntologyNode objectNode, OntologyNode classNode, OntologyNode attributeTypeNode, long weight) { ObjectNode = objectNode; ClassNode = classNode; AttributeTypeNode = attributeTypeNode; AttributeEdge = new OntologyEdge(AttributeTypeNode, relationTypes.Describes, objectNode); Weight = new OntologyRuleWeight(AttributeEdge, attributeTypes.Weight, weight); }
public OntologyEdge(OntologyEdge EdgeLeft, OntologyNode RelationType, OntologyEdge EdgeRight) { this.EdgeLeft = EdgeLeft; this.EdgeRight = EdgeRight; this.RelationType = RelationType; }