app geht. optimierung spinnt noch weng

This commit is contained in:
toni
2018-07-17 14:59:39 +02:00
parent e6ede27212
commit 2bb3fb8f82
8 changed files with 90 additions and 47 deletions

View File

@@ -193,7 +193,7 @@ namespace MeshBased {
const double pStair = getStairProb(p, observation.activity);
const double pGPS = 1;
const double prob = pWifi * pStair * pGPS;
const double prob = pWifi; // * pStair * pGPS;
p.weight *= prob;
if (p.weight != p.weight) {throw Exception("nan");}