From 8189116ea4b5db4675e31dfd04a5687d55e29262 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 6 May 2014 14:29:37 +0100 Subject: Added javadocs, made minor changes to the comments --- .../modules/problem/TestCaseProblem.TestCase.html | 358 +++++++++++++++++++++ 1 file changed, 358 insertions(+) create mode 100644 doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html (limited to 'doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html') diff --git a/doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html b/doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html new file mode 100644 index 0000000..5373cf2 --- /dev/null +++ b/doc/jcgp/backend/modules/problem/TestCaseProblem.TestCase.html @@ -0,0 +1,358 @@ + + + + + +TestCaseProblem.TestCase + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.problem
+

Class TestCaseProblem.TestCase<U>

+
+
+ +
+
    +
  • +
    +
    Type Parameters:
    +
    U - the data type of the test case.
    +
    +
    +
    Enclosing class:
    +
    TestCaseProblem<T>
    +
    +
    +
    +
    public static class TestCaseProblem.TestCase<U>
    +extends java.lang.Object
    +
    Basic data type for encapsulating test cases, it simply + contains arrays of inputs and outputs and associated getters.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      TestCase(U[] inputs, + U[] outputs) +
      Creates a new test case, inputs and outputs + must be specified upon instantiation.
      +
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + + + +
        +
      • +

        TestCase

        +
        public TestCase(U[] inputs,
        +                U[] outputs)
        +
        Creates a new test case, inputs and outputs + must be specified upon instantiation.
        +
        +
        Parameters:
        +
        inputs - the array of inputs.
        +
        outputs - the array of outputs.
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInput

        +
        public U getInput(int index)
        +
        +
        Parameters:
        +
        index - the index to return.
        +
        Returns:
        +
        the indexed input.
        +
        +
      • +
      + + + +
        +
      • +

        getOutput

        +
        public U getOutput(int index)
        +
        +
        Parameters:
        +
        index - the index to return.
        +
        Returns:
        +
        the indexed output.
        +
        +
      • +
      + + + +
        +
      • +

        getInputs

        +
        public U[] getInputs()
        +
        +
        Returns:
        +
        the complete array of inputs.
        +
        +
      • +
      + + + +
        +
      • +

        getOutputs

        +
        public U[] getOutputs()
        +
        +
        Returns:
        +
        the complete array of outputs.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + -- cgit v1.2.3