Public Member Functions |
| | Environment () |
| void | finalize () |
| int | hashCode () |
| cogitant.base.Support | support () |
| | Support.
|
| void | loadSupport (java.io.InputStream in, cogitant.base.IOHandler.Format format) throws ExceptionIO |
| void | loadSupport (String f) throws ExceptionIO |
| | Load a support from a file.
|
Collection
< cogitant.base.EnvironmentObject > | loadObjects (java.io.InputStream in, cogitant.base.IOHandler.Format format) throws ExceptionIO |
Collection
< cogitant.base.EnvironmentObject > | loadObjects (String f) throws ExceptionIO |
| | Load graphs/rules/constraints from a file.
|
| String | saveSupportString (cogitant.base.IOHandler.Format format) throws ExceptionIO |
| String | saveObjectsString (Collection< cogitant.base.EnvironmentObject > obj, cogitant.base.IOHandler.Format format) throws ExceptionIO |
| String | saveObjectString (cogitant.base.EnvironmentObject obj, cogitant.base.IOHandler.Format format) throws ExceptionIO |
| void | setIOConfig (IOHandler.ConfigPropertyBool prop, boolean val) |
| | Change I/O configuration.
|
| void | deleteObject (cogitant.base.EnvironmentObject g) throws cogitant.base.Exception |
Collection
< cogitant.base.EnvironmentObject > | objects () |
| | Set of objects (graphs/rules/constraints).
|
| cogitant.base.EnvironmentObject | findObject (String name) |
| | Find an object by its name.
|
| cogitant.base.Graph | newGraph () |
| | Create a new empty graph.
|
| cogitant.base.Graph | newGraph (cogitant.base.Graph g) |
| void | deleteGraph (cogitant.base.Graph g) throws cogitant.base.Exception |
| Collection< cogitant.base.Graph > | graphs () |
| | Set of graphs.
|
| cogitant.base.Graph | findGraph (String name) |
| | Find a graph by its name.
|
| cogitant.base.Graph | newGraphSubgraph (cogitant.base.Graph g, cogitant.base.GraphSubset gs) throws cogitant.base.Exception |
| void | deleteRule (cogitant.base.Rule g) throws cogitant.base.Exception |
| Collection< cogitant.base.Rule > | rules () |
| | Set of rules.
|
| cogitant.base.Rule | findRule (String name) |
| | Find a rule by its name.
|
| void | deleteConstraint (cogitant.base.Constraint g) throws cogitant.base.Exception |
Collection
< cogitant.base.Constraint > | constraints () |
| | Set of constraints.
|
| cogitant.base.Constraint | findConstraint (String name) |
| | Find a constraint by its name.
|
| cogitant.base.ProjectionConfig | projectionConfig () |
| | Projection config.
|
| cogitant.base.Projection | newProjection (cogitant.base.Graph g, cogitant.base.Graph h) throws cogitant.base.Exception |
| boolean | projectionHas (cogitant.base.Graph g, cogitant.base.Graph h) throws cogitant.base.Exception |
| int | projectionNum (cogitant.base.Graph g, cogitant.base.Graph h) throws cogitant.base.Exception |
Collection
< cogitant.base.Projection > | projectionFind (cogitant.base.Graph g, cogitant.base.Graph h) throws cogitant.base.Exception |
| void | projectionStop () |
| | Stop a projection operation.
|
java.util.Iterator
< cogitant.base.Projection > | projectionIterator (cogitant.base.Graph g, cogitant.base.Graph h, cogitant.base.ProjectionConfig pc) throws cogitant.base.Exception |
| void | graphDisjointSum (cogitant.base.Graph g, cogitant.base.Graph h) throws cogitant.base.Exception |
| int | graphNormalize (cogitant.base.Graph g) throws cogitant.base.Exception |
| void | graphIrredundant (cogitant.base.Graph g) throws cogitant.base.Exception |
| void | graphExternalJoin (cogitant.base.Graph g1, cogitant.base.GraphObject cg1, cogitant.base.Graph g2, cogitant.base.GraphObject cg2) throws cogitant.base.Exception |
| boolean | graphVerifyIrredundant (cogitant.base.Graph g) throws cogitant.base.Exception |
| boolean | graphVerifyEdges (cogitant.base.Graph g) throws cogitant.base.Exception |
| void | graphEnsureWellFormed (cogitant.base.Graph g) throws cogitant.base.Exception |
| void | graphExternalJoin (cogitant.base.Graph g1, cogitant.base.Graph g2, cogitant.base.GraphSubset subsetg2, Collection< cogitant.base.GraphObject > nodesg1, Collection< cogitant.base.GraphObject > nodesg2) throws cogitant.base.Exception |
Collection
< cogitant.base.Projection > | ruleApplications (cogitant.base.Graph g, cogitant.base.Rule r, boolean newkonly) throws cogitant.base.Exception |
| boolean | ruleApply (cogitant.base.Graph g, cogitant.base.Rule r, cogitant.base.Projection p, boolean newkonly) throws cogitant.base.Exception |
| int | rulesClosure (cogitant.base.Graph g, Collection< cogitant.base.Rule > r, int maxapp, int maxpasses) throws cogitant.base.Exception |
| int | rulesClosureNormalize (cogitant.base.Graph g, Collection< cogitant.base.Rule > r, int maxapp, int maxpasses) throws cogitant.base.Exception |
| boolean | constraintSatisfaction (cogitant.base.Graph g, cogitant.base.Constraint c) throws cogitant.base.Exception |
| cogitant.base.CoupleOfProjections | constraintSatisfactionViolation (cogitant.base.Graph g, cogitant.base.Constraint c) throws cogitant.base.Exception |
| void | individualGraphsClosure (cogitant.base.Graph g, Collection< cogitant.base.Graph > indg) throws cogitant.base.Exception |