crowdwalk/src/main/java/nodagumi/ananPJ/Scenario/DumpEvent.java
/**
     * generate Dump term for remaining generation rules.
     */
generate Dump term for remaining generation rules.
generate Dump term for remaining generation rules .
private Term dumpRuleTermForRemainingRules(SimTime currentTime,
                                               Term ruleList) {
	AgentHandler handler = getAgentHandler() ;
        AgentFactoryList factoryList = handler.getAgentFactoryList() ;
        for(String ruleName :
                factoryList.getAgentFactoryConfigNameTable().keySet()) {
            AgentFactoryConfig factoryConfig =
                factoryList.getAgentFactoryConfigByName(ruleName) ;
            Term rule = factoryConfig.toTermForRemainingAgents(currentTime) ;
            if(rule != null) {
                ruleList.addNth(rule) ;
            }
        }
        return ruleList ;
    }
private Term dumpRuleTermForRemainingRules ( SimTime currentTime , Term ruleList ) { AgentHandler handler = getAgentHandler ( ) ; AgentFactoryList factoryList = handler . getAgentFactoryList ( ) ; for ( String ruleName : factoryList . getAgentFactoryConfigNameTable ( ) . keySet ( ) ) { AgentFactoryConfig factoryConfig = factoryList . getAgentFactoryConfigByName ( ruleName ) ; Term rule = factoryConfig . toTermForRemainingAgents ( currentTime ) ; if ( rule != null ) { ruleList . addNth ( rule ) ; } } return ruleList ; }
generate Dump term for remaining generation rules.
generate Dump term for remaining generation rules .
// generate rule