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

Class Particle

code/algs4/Particle.java:29–228  ·  view source on GitHub ↗

The Particle class represents a particle moving in the unit box, with a given position, velocity, radius, and mass. Methods are provided for moving the particle and for predicting and resolvling elastic collisions with vertical walls, horizontal walls, and other particles. This data type

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