Created
August 10, 2015 20:25
-
-
Save kragen/c51ca08cb2a11f0a5581 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private Flaunch(OrderManager om, | |
List<Duration> taus, | |
List<Duration> futureTimes, | |
long samplingInterval) { | |
this.om = om; | |
this.samplingInterval = samplingInterval; | |
for (Duration tau : taus) { | |
filters.add(ExponentialFilter.create(tau)); | |
} | |
forwardDeltas = new long[futureTimes.size()]; | |
for (int i = 0; i < futureTimes.size(); i++) { | |
List<Long> col = newArrayList(); | |
futureColumns.add(col); | |
forwardDeltas[i] = futureTimes.get(i).toTimestamp(); | |
} | |
} | |
/* obviously much more */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment