MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / timeToHit

Method timeToHit

code/algs4/Particle.java:118–133  ·  view source on GitHub ↗

Returns the amount of time for this particle to collide with the specified particle, assuming no interening collisions. @param that the other particle @return the amount of time for this particle to collide with the specified particle, assuming no interening collisions; {@code Doub

(Particle that)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected