Examples of DType


Examples of eu.admire.dispel.types.DType

        {
            TupleDType t1 = (TupleDType)d1;
            TupleDType t2 = (TupleDType)d2;
            for (Entry<String, DType> entry : t1.getElements().entrySet())
            {
                DType value = t2.getElements().get(entry.getKey());
                if (value == null || !isEqual(entry.getValue(), value))
                {
                    return false;
                }
            }
View Full Code Here

Examples of eu.admire.dispel.types.DType

    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "unionInput2");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("any");
    SType sTypeIn2 = new PrimitiveSType("Array");
    DType dtypeIn1 = new SimpleDType("DummyInputDType1");
    DType dtypeIn2 = new SimpleDType("DummyInputDType2");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn1);
    peInDescr2.setDType(dtypeIn2);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "dummyOutput");
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "dummyOutput2");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
//    peOutDescr2.setSType(sTypeOut2);
//    peOutDescr2.setDType(dtypeOut2);
View Full Code Here

Examples of eu.admire.dispel.types.DType

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
    "data");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
//    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
//    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);

    outputs.add(peOutDescr1);
View Full Code Here

Examples of eu.admire.dispel.types.DType

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "data");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    // SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    // DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);

    outputs.add(peOutDescr1);
View Full Code Here

Examples of eu.admire.dispel.types.DType

    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "dummyInput2");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("DummyInputST1");
    SType sTypeIn2 = new PrimitiveSType("DummyInputST2");
    DType dtypeIn1 = new SimpleDType("DummyInputDType1");
    DType dtypeIn2 = new SimpleDType("DummyInputDType2");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn2);
    peInDescr2.setDType(dtypeIn2);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "dummyOutput");
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "dummyOutput2");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
//    peOutDescr2.setSType(sTypeOut2);
//    peOutDescr2.setDType(dtypeOut2);
View Full Code Here

Examples of eu.admire.dispel.types.DType

    peInDescr1.setSType(new AnySType());

    TupleSType tuple1 = new TupleSType();
    tuple1.setRest(true);

    DType dtype = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#ColumnIndex");
    peInDescr1.setDType(dtype);

    inputs.add(peInDescr1);
    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "output1");
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "output2");
    ProcessingElementOutputDescriptor peOutDescr3 = new ProcessingElementOutputDescriptor(
        "output3");

    peOutDescr1.setSType(new PrimitiveSType("Real"));
    peOutDescr2.setSType(new ArraySType(new PrimitiveSType("Integer"), 1));

    DType dtype1 = new SimpleDType("ColumnIndex",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        "dm");
    peInDescr1.setDType(dtype1);

    DType dtype2 = new SimpleDType("ColumnIndex2",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peOutDescr2.setDType(dtype2);

    DType dtype3 = new SimpleDType("ColumnIndex2",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peOutDescr3.setDType(dtype3);

    outputs.add(peOutDescr1);
View Full Code Here

Examples of eu.admire.dispel.types.DType

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "data");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    // SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    // DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);

    outputs.add(peOutDescr1);
View Full Code Here

Examples of eu.admire.dispel.types.DType

    ProcessingElementInputDescriptor peInDescr2 = new ProcessingElementInputDescriptor(
        "dummyInput2");
    peInDescr1.setArray(false);
    SType sTypeIn1 = new PrimitiveSType("DummyInputST1");
    SType sTypeIn2 = new PrimitiveSType("DummyInputST2");
    DType dtypeIn1 = new SimpleDType("DummyInputDType1");
    DType dtypeIn2 = new SimpleDType("DummyInputDType2");
    peInDescr1.setSType(sTypeIn1);
    peInDescr1.setDType(dtypeIn1);
    peInDescr2.setSType(sTypeIn2);
    peInDescr2.setDType(dtypeIn2);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "dummyOutput");
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "dummyOutput2");
    SType sTypeOut1 = new PrimitiveSType("DummyOutputST1");
    SType sTypeOut2 = new PrimitiveSType("DummyOutputST2");
    DType dtypeOut1 = new SimpleDType("DummyOutputDType1");
    DType dtypeOut2 = new SimpleDType("DummyOutputDType2");
    peOutDescr1.setSType(sTypeOut1);
    peOutDescr1.setDType(dtypeOut1);
    // peOutDescr2.setSType(sTypeOut2);
    // peOutDescr2.setDType(dtypeOut2);
View Full Code Here

Examples of eu.admire.dispel.types.DType

    TupleSType tuple2 = new TupleSType();
    tuple2.addElement("d", new PrimitiveSType("String"));
    tuple2.setRest(true);
//    peInDescr1.setSType(new ListSType(tuple2));

    DType dtype = new SimpleDType(
        "http://www.admire-project.eu/ontologies/DataMiningOntology#ColumnIndex");
    peInDescr1.setDType(dtype);

    inputs.add(peInDescr1);
    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
View Full Code Here

Examples of eu.admire.dispel.types.DType

    TupleSType tuple2 = new TupleSType();
    tuple2.addElement("s3", new PrimitiveSType("Integer"));
    tuple2.setRest(true);
    peInDescr4.setSType(tuple2);

    DType dtype1 = new SimpleDType("ColumnIndex",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        "dm");
    peInDescr1.setDType(dtype1);
   
    DType dtype2 = new SimpleDType("ColumnIndex2",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peInDescr2.setDType(dtype2);
   
    DType dtype3 = new SimpleDType("ColumnIndex2",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peInDescr3.setDType(dtype3);

    TupleSType tuple7 = new TupleSType();
    tuple7.setRest(true);
    peInDescr7.setSType(tuple7);

    inputs.add(peInDescr1);
    inputs.add(peInDescr2);
    inputs.add(peInDescr3);
    inputs.add(peInDescr4);
    inputs.add(peInDescr5);
    inputs.add(peInDescr6);
    inputs.add(peInDescr7);

    ProcessingElementOutputDescriptor peOutDescr1 = new ProcessingElementOutputDescriptor(
        "result");

    SType sTypeIn2 = new PrimitiveSType("String");
    peOutDescr1.setSType(sTypeIn2);
    ProcessingElementOutputDescriptor peOutDescr2 = new ProcessingElementOutputDescriptor(
        "result2");
    ProcessingElementOutputDescriptor peOutDescr3 = new ProcessingElementOutputDescriptor(
        "result3");
    ProcessingElementOutputDescriptor peOutDescr4 = new ProcessingElementOutputDescriptor(
        "result4");
    ProcessingElementOutputDescriptor peOutDescr5 = new ProcessingElementOutputDescriptor(
        "result5");
    ProcessingElementOutputDescriptor peOutDescr6 = new ProcessingElementOutputDescriptor(
        "result6");
    ProcessingElementOutputDescriptor peOutDescr7 = new ProcessingElementOutputDescriptor(
        "result7");

    DType dtype4 = new SimpleDType("ColumnIndex4",
        "http://www.admire-project.eu/ontologies/DataMiningOntology#",
        null);
    peOutDescr3.setDType(dtype4);
   
    // inserting output array SType of primitive SType
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.