Package uk.org.ogsadai.activity.io

Examples of uk.org.ogsadai.activity.io.TypedActivityInput


 
  @Override
  protected ActivityInput[] getIterationInputs() {
    return new ActivityInput[] {
       
              new TypedActivityInput(START_TIME, String.class),
              new TypedActivityInput(END_TIME, String.class),
              new TypedActivityInput(DURATION, Number.class)};
  }
View Full Code Here


  @Override
  protected ActivityInput[] getIterationInputs() {
    return new ActivityInput[] {
       
            
              new TypedActivityInput(DATA, Object.class),
              new TypedActivityInput(METADATA, Object.class)};
  }
View Full Code Here

    @Override
    protected ActivityInput[] getIterationInputs()
    {
        LOG.debug("Inside SPARQLQueryActivity getIterationInputs()");
        return new ActivityInput[] { new TypedActivityInput(
                INPUT_SPARQL_EXPRESSION, String.class), };
    }
View Full Code Here

    }

    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] { new TypedActivityInput(
                INPUT_SPARQL_EXPRESSION, String.class),

        };
    }
View Full Code Here

   
    @Override
    protected ActivityInput[] getIterationInputs()
    {
        return new ActivityInput[] {
                new TypedActivityInput(INPUT_URL, String.class),
                new TypedActivityInput(INPUT_NAME, String.class),
                new InputStreamActivityInput(INPUT_DATA)
        };
    }
View Full Code Here

   
  @Override
  protected ActivityInput[] getIterationInputs() {
    return new ActivityInput[] {
        new TypedActivityInput(INPUT_DATA, int[][].class),
        new TypedActivityInput(INPUT_DB_LEVEL, Number.class),
        new TypedActivityInput(INPUT_DB_NAME, Number.class)};
  }
View Full Code Here

    validateOutput(OUTPUT);
    mOutput = getOutput();
       
    inputs = new ActivityInput[3];
   
    inputs[0] = new TypedActivityInput(INPUT_DATA, Object.class);
    inputs[0].setBlockReader((BlockReader)getInput(INPUT_DATA));
   
    inputs[1] = new TypedActivityInput(INPUT_CLASSTYPE, Object.class);
    inputs[1].setBlockReader((BlockReader)getInput(INPUT_CLASSTYPE));

    inputs[2] = new TypedActivityInput(INPUT_FEATURENUMBER, Object.class);
    inputs[2].setBlockReader((BlockReader)getInput(INPUT_FEATURENUMBER));

    matrixs = new ArrayList();
    groups = new ArrayList();
  }
View Full Code Here

  }

  @Override
  protected ActivityInput[] getIterationInputs() {
    return new ActivityInput[] {
        new TypedActivityInput(INPUT, int[][].class),
        new TypedOptionalActivityInput(INPUT_MASK_SIZE, Number.class)};
  }
View Full Code Here

    mOutput = getOutput();

    inputs = new ActivityInput[3];

    // input image vector as double[]
    inputs[0] = new TypedActivityInput(INPUT_DATA, Object.class);
    inputs[0].setBlockReader((BlockReader)getInput(INPUT_DATA));

    // input image group/class as int
    inputs[1] = new TypedActivityInput(INPUT_CLASSIFIER, Object.class);
    inputs[1].setBlockReader((BlockReader)getInput(INPUT_CLASSIFIER));

    // input image vector to be tested as double[]
    inputs[2] = new TypedActivityInput(INPUT_RESULT_COLUMN_NAME, String.class);
    inputs[2].setBlockReader((BlockReader)getInput(INPUT_RESULT_COLUMN_NAME));

    NumberOfNeighbour = 3;
    metadataSent = false;
    classifier = new Classifier();   
View Full Code Here

    validateOutput(OUTPUT);
    mOutput = getOutput();
       
    inputs = new ActivityInput[2];
   
    inputs[0] = new TypedActivityInput(INPUT_DATA, Object.class);
    inputs[0].setBlockReader((BlockReader)getInput(INPUT_DATA));
   
    inputs[1] = new TypedActivityInput(INPUT_INDICES, Object.class);
    inputs[1].setBlockReader((BlockReader)getInput(INPUT_INDICES));
  }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.activity.io.TypedActivityInput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.