01: /*
02: * This file is part of JGAP.
03: *
04: * JGAP offers a dual license model containing the LGPL as well as the MPL.
05: *
06: * For licencing information please see the file license.txt included with JGAP
07: * or have a look at the top of class org.jgap.Chromosome which representatively
08: * includes the JGAP license policy applicable for any file delivered with JGAP.
09: */
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: }
|