java.lang.Object
org.openprovenance.prov.rules.Rules
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openprovenance.prov.rules.counters.ActivityCountercountActivitiesWithoutAgent(IndexedDocument indexedDocument) Within a Document, the method returns threes counts: the first one counts the number of activities, the second one counts the number of those activities without an association with an agent.org.openprovenance.prov.rules.counters.EntityCountercountDerivationsAndGenerations(IndexedDocument indexedDocument) Within a Document, the method returns threes counts: the first one counts the number of entities, the second one counts the number of those entities generated by an activity, the third one indicates the number of those entities that are derived from another entity.org.openprovenance.prov.rules.counters.EntityActivityDerivationCountercountDerivationsAndGenerationsAndUsages(IndexedDocument indexedDocument) Within a Document, the method returns the following counts: the first one counts the number of entities e2, the second one counts the number of those entities e2 generated by an activity (a), the third one indicates the number of those entities e2 that are derived from another entity e1, the fourth one indicates the number of activity a using e1, the fifth one indicates the number of those derivations referring to a, the sixth one indicates the number of those derivations referring to the generation of e2, the seventh one indicates the number of those derivations referring to the usage of e1.getMetrics(Document document, ProvFactory pFactory)
-
Constructor Details
-
Rules
public Rules()
-
-
Method Details
-
countDerivationsAndGenerations
public org.openprovenance.prov.rules.counters.EntityCounter countDerivationsAndGenerations(IndexedDocument indexedDocument) Within a Document, the method returns threes counts: the first one counts the number of entities, the second one counts the number of those entities generated by an activity, the third one indicates the number of those entities that are derived from another entity. -
countActivitiesWithoutAgent
public org.openprovenance.prov.rules.counters.ActivityCounter countActivitiesWithoutAgent(IndexedDocument indexedDocument) Within a Document, the method returns threes counts: the first one counts the number of activities, the second one counts the number of those activities without an association with an agent. -
countDerivationsAndGenerationsAndUsages
public org.openprovenance.prov.rules.counters.EntityActivityDerivationCounter countDerivationsAndGenerationsAndUsages(IndexedDocument indexedDocument) Within a Document, the method returns the following counts: the first one counts the number of entities e2, the second one counts the number of those entities e2 generated by an activity (a), the third one indicates the number of those entities e2 that are derived from another entity e1, the fourth one indicates the number of activity a using e1, the fifth one indicates the number of those derivations referring to a, the sixth one indicates the number of those derivations referring to the generation of e2, the seventh one indicates the number of those derivations referring to the usage of e1. -
getMetrics
-