Skip to content
Snippets Groups Projects
Commit cf7f18f5 authored by Steffen's avatar Steffen
Browse files

refactoring

parent 6954d805
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ public class RBParticleFilter extends Analyzer {
pChange = 0.01;
maxParticles = 64;
slopeThreshold = 0.0025;
slopeThreshold = 0.0020;
steadyStateThreshold = 0.9;
//end xml default
......@@ -106,7 +106,7 @@ public class RBParticleFilter extends Analyzer {
}
*/
public class Instance {
public class Data {
private class Data {
private DoubleArrayList data;
int offset;
......@@ -134,7 +134,7 @@ public class RBParticleFilter extends Analyzer {
return offset+data.size()-1;
}
}
public Data y;
private Data y;
//cached per t
public double predictedY;
......@@ -189,7 +189,7 @@ public class RBParticleFilter extends Analyzer {
return alpha;
}*/
public class Particle {
private class Particle {
public double weight;
public int tau;
public double constant, coefficient, prSteadyState;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment