code: public boolean nextGeneration() {
          // System.out.println( "next generation" );
          this.session.getAgenda().getAgendaGroup( "kill" ).setFocus();
          this.session.getAgenda().getAgendaGroup( "birth" ).setFocus();
          this.session.getAgenda().getAgendaGroup( "reset calculate" ).setFocus();
          this.session.getAgenda().getAgendaGroup( "rest" ).setFocus();
          this.session.getAgenda().getAgendaGroup( "evaluate" ).setFocus();
          this.session.getAgenda().getAgendaGroup( "calculate" ).setFocus();
          return session.fireAllRules() != 0;
          //return session.getAgenda().getAgendaGroup( "calculate" ).size() != 0;
      }
docs: /* (non-Javadoc)
  @see org.drools.examples.conway.ConwayRuleDelegate#nextGeneration()