Package cnuphys.swim
Class TrajectoryCompare
java.lang.Object
cnuphys.swim.TrajectoryCompare
static methods useful for comparing trajectories in testing
- Author:
- heddle
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic doublefinalPositionDifference(SwimTrajectory traj1, SwimTrajectory traj2) Compare the distance between final positions
- 
Constructor Details- 
TrajectoryComparepublic TrajectoryCompare()
 
- 
- 
Method Details- 
finalPositionDifferenceCompare the distance between final positions- Parameters:
- traj1- one trajectory
- traj2- another trajectory
- Returns:
- the distance between the final positions
 
 
-