@Test public void testDetectMultipleKnees() { double[] x = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; double[] y = { 0.2, 0.2, 0.4, 0.4, 0.4, 0.5, 0.5, 0.5, 0.8, 0.8 }; Katomle katomle = new Katomle(1); int[] knees = katomle.detectKneePoints(x, y); Assert.assertArrayEquals(new int[] { 2, 5, 8 }, knees); }
public int[] detectKneePoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, false); }
Katomle { public int[] detectKneePoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, false); } }
Katomle { public int[] detectKneePoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, false); } Katomle();  Katomle(final double sensitivity); }
Katomle { public int[] detectKneePoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, false); } Katomle();  Katomle(final double sensitivity); int[] detectKneePoints(final double[] x, final double[] y); int[] detectElbowPoints(final double[] x, final double[] y); }
Katomle { public int[] detectKneePoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, false); } Katomle();  Katomle(final double sensitivity); int[] detectKneePoints(final double[] x, final double[] y); int[] detectElbowPoints(final double[] x, final double[] y);  }