1 10 package org.jgap.supergenes; 11 12 import org.jgap.*; 13 14 21 public abstract class Validator 22 implements SupergeneValidator { 23 24 private final static String CVS_REVISION = "$Revision: 1.8 $"; 25 26 private transient Configuration m_conf; 27 28 public Validator(Configuration a_conf) { 29 m_conf = a_conf; 30 } 31 32 33 public abstract boolean isValid(Gene[] a_genes, Supergene a_for_supergene); 34 35 37 public String getPersistent() { 38 return ""; 39 } 40 41 43 public void setFromPersistent(final String a_from) { 44 } 45 46 52 public Configuration getConfiguration() { 53 return m_conf; 54 } 55 } 56 | Popular Tags |