jmetal.encodings.solutionType
Class IntRealSolutionType

java.lang.Object
  extended by jmetal.core.SolutionType
      extended by jmetal.encodings.solutionType.IntRealSolutionType

public class IntRealSolutionType
extends SolutionType

Class representing a solution type including two variables: an integer and a real.


Field Summary
 
Fields inherited from class jmetal.core.SolutionType
problem_
 
Constructor Summary
IntRealSolutionType(Problem problem, int intVariables, int realVariables)
          Constructor
 
Method Summary
 Variable[] createVariables()
          Creates the variables of the solution
 
Methods inherited from class jmetal.core.SolutionType
copyVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntRealSolutionType

public IntRealSolutionType(Problem problem,
                           int intVariables,
                           int realVariables)
Constructor

Parameters:
problem - Problem to solve
intVariables - Number of integer variables
realVariables - Number of real variables
Method Detail

createVariables

public Variable[] createVariables()
                           throws java.lang.ClassNotFoundException
Creates the variables of the solution

Specified by:
createVariables in class SolutionType
Throws:
java.lang.ClassNotFoundException