19 package org.matsim.core.population.io;
21 import org.apache.logging.log4j.LogManager;
22 import org.apache.logging.log4j.Logger;
36 static void printError() {
37 log.fatal(
"This does not work any more after change of the streaming api. You will need something like");
38 log.fatal(
"StreamingPopulationReader reader = new StreamingPopulationReader( scenario ); " ) ;
39 log.fatal(
"reader.addAlgorithm(...);") ;
40 log.fatal(
"reader.readFile(...)" ) ;
41 throw new RuntimeException(
"This does not work any more after change of the streaming api. ") ;
48 throw new RuntimeException(
"you cannot set streaming any more at the regular Population(Impl). " 49 +
"Use StreamingPopulationReader, or talk to us if you need something else. kai, jul'16" ) ;
52 throw new RuntimeException(
"Code around this statement was manually adapted to revised streaming API; " 53 +
"pls chk if everything is ok and then remove the call to this method from your code. " 54 +
"Pls tlk to us if you have problems. kai, jul'16") ;
static void runAlgorithms(Population pop)
static void addAlgorithm(Population pop, PersonAlgorithm algo)
static void setIsStreaming(StreamingPopulationReader reader, boolean isStreaming)
static void setIsStreaming(Population pop, boolean isStreaming)