File: CompressionSpeedCalculator.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (18 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package tim.prune.function.compress.methods;

import tim.prune.data.MarkingData;
import tim.prune.data.SpeedCalculator;


public class CompressionSpeedCalculator extends SpeedCalculator
{
	private final MarkingData _markings;

	CompressionSpeedCalculator(MarkingData inMarkings) {
		_markings = inMarkings;
	}

	protected boolean shouldIgnorePoint(int inIndex) {
		return _markings != null && _markings.isPointMarkedForDeletion(inIndex);
	}
}