Skip to content
Snippets Groups Projects
Commit 65feff0e authored by Peter Wagenhuber's avatar Peter Wagenhuber
Browse files

grad beim beim befuellen der pump mit der sequenz aus dem table

parent 2e3d7538
No related branches found
No related tags found
No related merge requests found
......@@ -55,20 +55,20 @@ public class Nloc {
}
}
//public Pump generateDropletSequence(List<String> modules)
// throws BifurcationTooShortException {
public List<BFTableEntry> generateDropletSequence(List<String> modules)
public Pump generateDropletSequence(List<String> modules)
throws NlocStructureException {
Pump pump = this.getPump();
int timediff = MIN_TIMEDIFF + 1;
List<Channel> modPath = this.getModulesByName(modules);
List<List<Channel>> pathlist = this.getAllPaths();
List<Channel> desiredPath = getDesiredPath(modPath, pathlist);
List<BFTableEntry> startConfigruation = calcBFTable(desiredPath);
List<BFTableEntry> bftable = calcBFTable(desiredPath);
BFTableEntry startConfiguration = bftable.get(0);
pump = createDropletsequenceInPump(pump, startConfiguration);
//cumulatedDropletTimeDiffList = calcCumTDiffList(timediffList);
......@@ -85,7 +85,12 @@ public class Nloc {
// new Position(pump,i + i * timediff + 1)));
// }
//}
return startConfigruation;
return pump;
}
private Pump createDropletsequenceInPump(Pump pump, BFTableEntry startConfiguration) {
}
private List<BFTableEntry> calcBFTable(List<Channel> path)
......@@ -152,7 +157,7 @@ public class Nloc {
} else {
throw new NlocStructureException("Somethig very strange happened");
}
}
} // end for
return bftable;
}
......
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