/dports/science/cdk/cdk-cdk-2.3/base/core/src/main/java/org/openscience/cdk/graph/ |
H A D | ShortestPaths.java | 86 private final int[] distTo; field in ShortestPaths 160 this.distTo = new int[n]; in ShortestPaths() 174 distTo[start] = 0; in ShortestPaths() 202 int dist = distTo[v] + 1; in compute() 208 if (dist < distTo[w]) { in compute() 209 distTo[w] = dist; in compute() 240 int dist = distTo[v] + 1; in compute() 244 if (dist < distTo[w]) { in compute() 245 distTo[w] = dist; in compute() 700 int i = distTo[v]; [all …]
|
/dports/cad/sumo/sumo-1.2.0/src/utils/router/ |
H A D | AStarLookupTable.h | 149 const double distTo = StringUtils::toDouble(st.get(3)); in LandmarkLookupTable() local 151 myToLandmarkDists[myLandmarks[lm]].push_back(distTo); in LandmarkLookupTable() 226 double distTo = -1; in LandmarkLookupTable() local 229 distTo = 0; in LandmarkLookupTable() 236 distTo = currentTasks[taskIndex]->getCost(); in LandmarkLookupTable() 241 myToLandmarkDists[i].push_back(distTo); in LandmarkLookupTable() 242 … (*ostrm) << landmarkID << " " << edge->getID() << " " << distFrom << " " << distTo << "\n"; in LandmarkLookupTable() 253 double distTo = -1.; in LandmarkLookupTable() local 256 distTo = 0.; in LandmarkLookupTable() 276 myToLandmarkDists[i].push_back(distTo); in LandmarkLookupTable() [all …]
|
/dports/science/cdk/cdk-cdk-2.3/base/isomorphism/src/main/java/org/openscience/cdk/isomorphism/matchers/ |
H A D | Expr.java | 200 int[] distTo = new int[mol.getAtomCount()]; in isInSmallRingSize() local 201 Arrays.fill(distTo, 1 + distTo.length); in isInSmallRingSize() 202 distTo[atom.getIndex()] = 0; in isInSmallRingSize() 205 int smallest = 1 + distTo.length; in isInSmallRingSize() 208 int dist = 1 + distTo[a.getIndex()]; in isInSmallRingSize() 211 if (dist < distTo[nbr.getIndex()]) { in isInSmallRingSize() 212 distTo[nbr.getIndex()] = dist; in isInSmallRingSize() 214 } else if (dist != 2 + distTo[nbr.getIndex()]) { in isInSmallRingSize() 215 int tmp = dist + distTo[nbr.getIndex()]; in isInSmallRingSize()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/geometric/src/ |
H A D | PathSimplifier.cpp | 448 double distTo = dists[std::get<2>(distCostIndices[z])] + costBias; in perturbPath() local 449 selectAlongPath(dists, states, distTo, threshold, perturb_state, pos); in perturbPath() 914 if (distTo < 0) in selectAlongPath() 915 distTo = 0; in selectAlongPath() 916 else if (distTo > dists.back()) in selectAlongPath() 917 distTo = dists.back(); in selectAlongPath() 920 auto pit = std::lower_bound(dists.begin(), dists.end(), distTo); in selectAlongPath() 923 if (pos == 0 || dists[pos] - distTo < threshold) in selectAlongPath() 927 while (pos > 0 && distTo < dists[pos]) in selectAlongPath() 929 if (distTo - dists[pos] < threshold) in selectAlongPath() [all …]
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/base/spaces/constraint/src/ |
H A D | TangentBundleStateSpace.cpp | 98 const double distTo = distance(from, to); in discreteGeodesic() local 99 if (distTo <= tolerance) in discreteGeodesic() 103 const double distMax = lambda_ * distTo; in discreteGeodesic()
|
H A D | AtlasStateSpace.cpp | 396 const double distTo = distance(from, to); in discreteGeodesic() local 397 if (distTo <= tolerance) in discreteGeodesic() 401 const double distMax = lambda_ * distTo; in discreteGeodesic()
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwmechanics/ |
H A D | aisequence.cpp | 248 float distTo = (targetPos.asVec3() - vActorPos).length2(); in execute() local 252 distTo = std::max(0.f, distTo - 2500.f); in execute() 255 if (rating > bestRating || ((distTo < nearestDist) && rating == bestRating)) in execute() 257 nearestDist = distTo; in execute()
|
/dports/misc/ompl/ompl-1.5.2/src/ompl/geometric/ |
H A D | PathSimplifier.h | 251 double distTo, double threshold, base::State *select_state, int &pos);
|
/dports/games/freesynd/freesynd-0.7.5/src/ |
H A D | mission.h | 295 …bool checkTileOnly = false, double maxr = -1.0, double * distTo = NULL, const ShootableMapObject *…
|
H A D | ped.cpp | 1384 double distTo = 0; in verifyHostilesFound() local 1390 check_rng, &distTo) != 1)) in verifyHostilesFound()
|
H A D | mission.cpp | 2722 double * distTo, const ShootableMapObject *pOrigin) in checkIfBlockersInShootingLine() argument 2733 uint8 block_mask = checkBlockedByTile(originLoc, &tmpPosW, true, maxr, distTo); in checkIfBlockersInShootingLine()
|