Package cnuphys.swim
Class TrajectoryCompare
java.lang.Object
cnuphys.swim.TrajectoryCompare
static methods useful for comparing trajectories in testing
- Author:
- heddle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
finalPositionDifference
(SwimTrajectory traj1, SwimTrajectory traj2) Compare the distance between final positions
-
Constructor Details
-
TrajectoryCompare
public TrajectoryCompare()
-
-
Method Details
-
finalPositionDifference
Compare the distance between final positions- Parameters:
traj1
- one trajectorytraj2
- another trajectory- Returns:
- the distance between the final positions
-