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

Method timeToHitHorizontalWall

code/algs4/Particle.java:159–163  ·  view source on GitHub ↗

Returns the amount of time for this particle to collide with a horizontal wall, assuming no interening collisions. @return the amount of time for this particle to collide with a horizontal wall, assuming no interening collisions; Double.POSITIVE_INFINITY if the particle will

()

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