/** * reduce graph of the atoms in the structure */ public void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); for (OntologyAtom p : atoms) { p.getAllDepAtoms(checked); } }
/** * reduce graph of the atoms in the structure */ public void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); for (OntologyAtom p : atoms) { p.getAllDepAtoms(checked); } }
/** * reduce graph of the atoms in the structure */ public void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); for (OntologyAtom p : atoms) { p.getAllDepAtoms(checked); } }
/** * reduce graph of the atoms in the structure */ public void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); for (OntologyAtom p : atoms) { p.getAllDepAtoms(checked); } }
/** * reduce graph of the atoms in the structure */ void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); atoms.forEach(p -> p.getAllDepAtoms(checked)); }
/** * reduce graph of the atoms in the structure */ void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); atoms.forEach(p -> p.getAllDepAtoms(checked)); }
/** * reduce graph of the atoms in the structure */ void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); atoms.forEach(p -> p.getAllDepAtoms(checked)); }
/** * reduce graph of the atoms in the structure */ void reduceGraph() { Set<OntologyAtom> checked = new HashSet<>(); atoms.forEach(p -> p.getAllDepAtoms(checked)); }
/** * build all dep atoms; filter them from DepAtoms * * @param checked sets of atoms to check */ public void buildAllDepAtoms(Set<OntologyAtom> checked) { // first gather all dep atoms from all known dep atoms for (OntologyAtom p : dependencies) { Set<OntologyAtom> dep = p.getAllDepAtoms(checked); allDependencies.addAll(dep); } // now filter them out from known dep atoms filterDep(); // add direct deps to all deps allDependencies.addAll(dependencies); // now the atom is checked checked.add(this); }
/** * build all dep atoms; filter them from DepAtoms * * @param checked sets of atoms to check */ public void buildAllDepAtoms(Set<OntologyAtom> checked) { // first gather all dep atoms from all known dep atoms for (OntologyAtom p : dependencies) { Set<OntologyAtom> dep = p.getAllDepAtoms(checked); allDependencies.addAll(dep); } // now filter them out from known dep atoms filterDep(); // add direct deps to all deps allDependencies.addAll(dependencies); // now the atom is checked checked.add(this); }
/** * build all dep atoms; filter them from DepAtoms * * @param checked sets of atoms to check */ public void buildAllDepAtoms(Set<OntologyAtom> checked) { // first gather all dep atoms from all known dep atoms for (OntologyAtom p : dependencies) { Set<OntologyAtom> dep = p.getAllDepAtoms(checked); allDependencies.addAll(dep); } // now filter them out from known dep atoms filterDep(); // add direct deps to all deps allDependencies.addAll(dependencies); // now the atom is checked checked.add(this); }
/** * build all dep atoms; filter them from DepAtoms * * @param checked sets of atoms to check */ public void buildAllDepAtoms(Set<OntologyAtom> checked) { // first gather all dep atoms from all known dep atoms for (OntologyAtom p : dependencies) { Set<OntologyAtom> dep = p.getAllDepAtoms(checked); allDependencies.addAll(dep); } // now filter them out from known dep atoms filterDep(); // add direct deps to all deps allDependencies.addAll(dependencies); // now the atom is checked checked.add(this); }