Examples of addOperation()


Examples of bs.bs2d.fea.processing.ScalarFieldOp.addOperation()

                Operation op = new Operation(Operation.Type.SMOOTH);
                String type = opEl.getElementsByTagName("OpType").item(0).getTextContent();
                op.setType(Operation.Type.valueOf(type));
                String param = opEl.getElementsByTagName("OpParam").item(0).getTextContent();
                op.setParameter(Float.parseFloat(param));
                sfop.addOperation(op);
            }
           
            ops.add(sfop);
        }
       
View Full Code Here

Examples of ca.uhn.fhir.model.dstu.resource.Conformance.Rest.addOperation()

        RestfulOperationSystemEnum sysOp = nextMethodBinding.getSystemOperationType();
        if (sysOp != null) {
          if (systemOps.contains(sysOp) == false) {
            systemOps.add(sysOp);
            rest.addOperation().setCode(sysOp);
          }
        }

        if (nextMethodBinding instanceof SearchMethodBinding) {
          List<IParameter> params = ((SearchMethodBinding) nextMethodBinding).getParameters();
View Full Code Here

Examples of ca.uhn.fhir.model.dstu.resource.Conformance.RestResource.addOperation()

      for (BaseMethodBinding nextMethodBinding : next.getMethodBindings()) {
        RestfulOperationTypeEnum resOp = nextMethodBinding.getResourceOperationType();
        if (resOp != null) {
          if (resourceOps.contains(resOp) == false) {
            resourceOps.add(resOp);
            resource.addOperation().setCode(resOp);
          }
        }

        RestfulOperationSystemEnum sysOp = nextMethodBinding.getSystemOperationType();
        if (sysOp != null) {
View Full Code Here

Examples of com.google.walkaround.proto.OperationBatch.addOperation()

   */
  public String serializeOperationBatch(List<WaveletOperation> input) {
    Preconditions.checkState(input.size() >= 1, "Operation batch input should have >= 1 items");
    OperationBatch batch = MessageFactoryHelper.createOperationBatch();
    for (WaveletOperation op : input) {
      batch.addOperation(OperationSerializer.createMessage(op));
    }
    return serializer.serializeOperationBatch(batch);
  }

  public List<WaveletOperation> deserializeOperationBatch(
View Full Code Here

Examples of com.heatonresearch.aifh.evolutionary.train.EvolutionaryAlgorithm.addOperation()

            }
        });

        // Create a shuffle operator.  Use it 1.0 (100%) of the time.
        MutateShuffle opp = new MutateShuffle();
        train.addOperation(1.0, opp);

        // Create a single parent, the genes are set to 1,2,3,4,5.
        IntegerArrayGenome[] parents = new IntegerArrayGenome[1];
        parents[0] = (IntegerArrayGenome) pop.getGenomeFactory().factor();
        for (int i = 1; i <= 5; i++) {
View Full Code Here

Examples of com.heatonresearch.aifh.evolutionary.train.basic.BasicEA.addOperation()

            }
        });

        // Create a shuffle operator.  Use it 1.0 (100%) of the time.
        MutateShuffle opp = new MutateShuffle();
        train.addOperation(1.0, opp);

        // Create a single parent, the genes are set to 1,2,3,4,5.
        IntegerArrayGenome[] parents = new IntegerArrayGenome[1];
        parents[0] = (IntegerArrayGenome) pop.getGenomeFactory().factor();
        for (int i = 1; i <= 5; i++) {
View Full Code Here

Examples of com.ibm.wsdl.PortTypeImpl.addOperation()

                String methodName = methods[i].getMethodName();
                Vector outParams = WSDLGenUtil.getOutParams(serviceMap, methodName);
               
               
                OperationImpl operation = addOperation(def, dImpl, methodName, (String) methodDesc.get(i),typens,outParams);
                portType.addOperation(operation);
               
                if(!abstractWSDL)
                {
                    UnknownExtensibilityElement wsInPolicyRef = null;
                    UnknownExtensibilityElement wsOutPolicyRef = null;
View Full Code Here

Examples of com.linkedin.data.transform.filter.request.MaskTree.addOperation()

   */
  @Test
  public void testComposingPositiveSubmasks()
  {
    MaskTree mask = new MaskTree();
    mask.addOperation(new PathSpec("a", "b", "c"), MaskOperation.POSITIVE_MASK_OP);
    mask.addOperation(new PathSpec("a", "b"), MaskOperation.POSITIVE_MASK_OP);
    mask.addOperation(new PathSpec("a"), MaskOperation.POSITIVE_MASK_OP);
    Assert.assertEquals(mask.toString(), "{a=1}");
  }

View Full Code Here

Examples of com.linkedin.data.transform.patch.request.PatchTree.addOperation()

  @Test
  public void testExplicitUpdate()
  {
    PatchTree explicitUpdateSpec = new PatchTree();
    explicitUpdateSpec.addOperation(Group.fields().id(), PatchOpFactory.setFieldOp(42));
    explicitUpdateSpec.addOperation(Group.fields().name(), PatchOpFactory.setFieldOp("Foo"));
    explicitUpdateSpec.addOperation(Group.fields().description(), PatchOpFactory.REMOVE_FIELD_OP);
    assertEquals(explicitUpdateSpec.toString(), "{$set={id=42, name=Foo}, $delete=[description]}");
  }
View Full Code Here

Examples of javax.wsdl.PortType.addOperation()

                processOutputMessage(operation, method, outputMessage);
            }

            generateFault(method, operation);

            portType.addOperation(operation);
            definition.addPortType(portType);
        }

    }
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.