Changes between Version 7 and Version 8 of adapters_composite
- Timestamp:
- 05/05/06 14:56:35 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adapters_composite
v7 v8 18 18 == Specification == 19 19 === Intitialisation === 20 The ontology adapter class is20 The ontology adapter class is 21 21 {{{de.dfki.km.phaselib.adapters.compoosite.OntologyWrapper}}} 22 22 23 Initialisation:24 Using static method OntologyWrapper.init() to encapsulate an existing ontology.23 Initialisation: 24 Using static method OntologyWrapper.init() to encapsulate an existing ontology. 25 25 26 {{{27 CompositeOntology ont = OntologyWrapper.init(otherOntology);28 }}}26 {{{ 27 CompositeOntology ont = OntologyWrapper.init(otherOntology); 28 }}} 29 29 === Usage === 30 Contracting and Expanding:31 CompositeCls provides utilities to contract or expand a subgraph.32 Contract:33 A subgraph is represented as a set of wrapped classes. After contracting, the contracted class is a wrapped class representing the original class set.30 Contracting and Expanding: 31 CompositeCls provides utilities to contract or expand a subgraph. 32 Contract: 33 A subgraph is represented as a set of wrapped classes. After contracting, the contracted class is a wrapped class representing the original class set. 34 34 35 {{{36 CompositeCls compositedCls = CompositeCls.composite(subgraph);37 }}}35 {{{ 36 CompositeCls compositedCls = CompositeCls.composite(subgraph); 37 }}} 38 38 39 39 40 Expand:41 After expanding, the original class set is returned.42 {{{43 Collection<Cls> subgraph = compositedCls.expand();44 }}}40 Expand: 41 After expanding, the original class set is returned. 42 {{{ 43 Collection<Cls> subgraph = compositedCls.expand(); 44 }}} 45 45 46 46 … … 49 49 50 50 === Dependencies === 51 Log4j - for logging51 Log4j - for logging 52 52 53 53 == License Issues ==