Home
last modified time | relevance | path

Searched refs:orderAtomsVisited (Results 1 – 1 of 1) sorted by relevance

/dports/science/opsin/dan2097-opsin-9b25f7546b67/opsin-core/src/main/java/uk/ac/cam/ch/wwmm/opsin/
H A DCycleDetector.java82 final List<Atom> orderAtomsVisited; field in CycleDetector.PathSearchState
83 public PathSearchState(Atom currentAtom, List<Atom> orderAtomsVisited ) { in PathSearchState() argument
85 this.orderAtomsVisited = orderAtomsVisited; in PathSearchState()
91 return orderAtomsVisited; in getOrderAtomsVisited()
108 List<Atom> orderAtomsVisited = state.getOrderAtomsVisited(); in getPathBetweenAtomsUsingBonds() local
110 orderAtomsVisited.add(nextAtom); in getPathBetweenAtomsUsingBonds()
115 if (orderAtomsVisited.contains(neighbour)){//atom already visited by this path in getPathBetweenAtomsUsingBonds()
119 paths.add(new ArrayList<Atom>(orderAtomsVisited.subList(1, orderAtomsVisited.size()))); in getPathBetweenAtomsUsingBonds()
122 stateStack.add(new PathSearchState(neighbour, new ArrayList<Atom>(orderAtomsVisited))); in getPathBetweenAtomsUsingBonds()