Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/ECJClient/src/ec/app/edge/EdgeShortStatistics.java @ 6152

Last change on this file since 6152 was 6152, checked in by bfarka, 13 years ago

added ecj and custom statistics to communicate with the okb services #1441

File size: 906 bytes
Line 
1/*
2  Copyright 2006 by Sean Luke
3  Licensed under the Academic Free License version 3.0
4  See the file "LICENSE" for more information
5*/
6
7
8package ec.app.edge;
9import ec.*;
10import ec.gp.koza.*;
11import ec.util.*;
12
13/*
14 * EdgeShortStatistics.java
15 *
16 * Created: Fri Nov  5 16:03:44 1999
17 * By: Sean Luke
18 */
19
20/**
21 * @author Sean Luke
22 * @version 1.0
23 */
24
25public class EdgeShortStatistics extends KozaShortStatistics
26    {
27    public void _postEvaluationStatistics(final EvolutionState state)
28        {
29        // compute and print out the other statistics -- we depend on it!
30        super._postEvaluationStatistics(state);
31
32        // we have only one population, so this is kosher
33        state.output.print(((Edge)(state.evaluator.p_problem.clone())).
34            describeShortGeneralized(best_of_run[0], state, 0, 0),
35            statisticslog);
36        }
37
38    }
Note: See TracBrowser for help on using the repository browser.