source: java/ecj/cecj/eval/TDLImprover.java @ 963

Last change on this file since 963 was 193, checked in by Maciej Komosinski, 11 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 973 bytes
Line 
1/*
2  Copyright 2009 by Marcin Szubert
3  Licensed under the Academic Free License version 3.0
4 */
5
6package cecj.eval;
7
8import ec.EvolutionState;
9import ec.Individual;
10import ec.Setup;
11
12/**
13 * Represents temporal difference learning (TDL) algorithm which is applied to population
14 * individuals to improve them between subsequent evolutionary generations.
15 *
16 * @author Marcin Szubert
17 *
18 */
19public interface TDLImprover extends Setup {
20
21        /**
22         * Prepares an individual for being improved by TDL algorithm.
23         *
24         * @param state
25         *            current evolutionary state
26         * @param ind
27         *            individual to be prepared
28         */
29        public void prepareForImproving(EvolutionState state, Individual ind);
30
31        /**
32         * Applies TDL algorithm to the given individual to improve its fitness
33         *
34         * @param state
35         *            current evolutionary state
36         * @param ind
37         *            an individual to be improved
38         */
39        public void improve(EvolutionState state, Individual ind);
40}
Note: See TracBrowser for help on using the repository browser.