@Test public void testDetectMultipleElbows() { double[] x = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; double[] y = { 0.1, 0.1, 0.3, 0.3, 0.3, 0.6, 0.6, 0.6, 0.9, 0.9 }; Katomle katomle = new Katomle(1); int[] knees = katomle.detectElbowPoints(x, y); Assert.assertArrayEquals(new int[] { 1, 4, 7 }, knees); }
public int[] detectElbowPoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, true); }
Katomle { public int[] detectElbowPoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, true); } }
Katomle { public int[] detectElbowPoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, true); } Katomle();  Katomle(final double sensitivity); }
Katomle { public int[] detectElbowPoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, true); } Katomle();  Katomle(final double sensitivity); int[] detectKneePoints(final double[] x, final double[] y); int[] detectElbowPoints(final double[] x, final double[] y); }
Katomle { public int[] detectElbowPoints(final double[] x, final double[] y) { return detectKneeOrElbowPoints(x, y, true); } Katomle();  Katomle(final double sensitivity); int[] detectKneePoints(final double[] x, final double[] y); int[] detectElbowPoints(final double[] x, final double[] y);  }