Distributed Genetic Programming Framework
print print

File org.dgpf.gp.utils.NonDominatedConstructPrinter.java

Here you can find all the information about the file org.dgpf.gp.utils.NonDominatedConstructPrinter.java. You may explore it here or download it onto your local disk.
 * Copyright (c) 2006 Thomas Weise
 * E-Mail           : tweise@gmx.de
 * Creation Date    : 2006-07-15 13:05:41
 * Original Filename: org.dgpf.gp.utils.NonDominatedConstructPrinter.java
 * Version          : 1.0.0
 * Last modification: 2006-07-15
 *                by: Thomas Weise
 *                    Version 2.1, February 1999
 *                    You should have received a copy of this license along
 *                    with this library; if not, write to the Free Software
 *                    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *                    MA 02111-1307, USA or download the license under
 *                    http://www.gnu.org/copyleft/lesser.html.
 * Warranty         : This software is provided "as is" without any
 *                    warranty; without even the implied warranty of
 *                    merchantability or fitness for a particular purpose.
 *                    See the Gnu Lesser General Public License for more
 *                    details.

package org.dgpf.gp.utils;

import org.dgpf.gp.Construct;
import org.dgpf.search.api.Individual;
import org.dgpf.search.api.NonDominatedList;
import org.dgpf.search.api.SearchEngine;
import org.dgpf.search.api.utils.NonDominatedPrinter;
import org.sfc.io.TextWriter;

 * This thread prints the non-dominated constructs of a search periodically.
 * @param <Genotype>  A construct type.
 * @author Thomas Weise

public class   NonDominatedConstructPrinter<Genotype extends Construct> 
       extends NonDominatedPrinter<Genotype>
 * Create a new non-dominated list printer.
 * @param p_directory The directory to print the log files into.
 * @param p_intervall The time intervall for printing the log data, in ms.
 *                    If this is -1, a default value will be used. 
 * @param p_se        The search engine to print the data of.

  public NonDominatedConstructPrinter(final SearchEngine<Genotype> p_se,
                                      final Object                 p_directory,
                                      final int                    p_intervall)
    super(p_se, p_directory, p_intervall);
 * Store the non-dominated data into a file.
 * @param p_writer  The writer to write the data to.
 * @param p_data    The list to be printed.

  protected void  store_data  (final TextWriter                 p_writer,
                               final NonDominatedList<Genotype> p_data)
    StringBuilder l_sb;
    super.store_data(p_writer, p_data);
    l_sb = new StringBuilder();
    for(Individual<Genotype> l_i : p_data)

File Information:

file name:NonDominatedConstructPrinter.java
qualified name:org.dgpf.gp.utils.NonDominatedConstructPrinter.java
file type:Java Source File
download location:download http://dgpf.sourceforge.net/source/org/dgpf/gp/utils/NonDominatedConstructPrinter.java
size:2.983 KB (3055 B)
uploaded: 2018-01-07 12:03:34 GMT+0000
last update: 2006-08-01 05:39:11 GMT+0000
last access: 2018-05-25 15:05:49 GMT+0000

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2018-01-07 12:03:34 GMT+0000 served at 2018-05-25 15:05:49 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo