1 /* 2 * This file is part of JGAP. 3 * 4 * JGAP offers a dual license model containing the LGPL as well as the MPL. 5 * 6 * For licencing information please see the file license.txt included with JGAP 7 * or have a look at the top of class org.jgap.Chromosome which representatively 8 * includes the JGAP license policy applicable for any file delivered with JGAP. 9 */ 10 package examples.equalDistribution; 11 12 /** 13 * Represents a vent with a specific weight. 14 * 15 * @author Klaus Meffert 16 * @since 3.2 17 */ 18 public class Vent { 19 /** String containing the CVS revision. Read out via reflection!*/ 20 private final static String CVS_REVISION = "$Revision: 1.1 $"; 21 22 private double m_weight; 23 24 public Vent(double a_weight) { 25 m_weight = a_weight; 26 } 27 28 public double getWeight() { 29 return m_weight; 30 } 31 } 32