Examples of mutate()


Examples of com.google.api.adwords.v201309.cm.OfflineConversionFeedServiceInterface.mutate()

    OfflineConversionFeedOperation offlineConversionOperation =
        new OfflineConversionFeedOperation();
    offlineConversionOperation.setOperator(Operator.ADD);
    offlineConversionOperation.setOperand(feed);

    OfflineConversionFeedReturnValue offlineConversionReturnValue = offlineConversionFeedService
        .mutate(new OfflineConversionFeedOperation[] {offlineConversionOperation});

    OfflineConversionFeed newFeed = offlineConversionReturnValue.getValue(0);

    System.out.printf(
View Full Code Here

Examples of com.google.api.adwords.v201309.mcm.ManagedCustomerServiceInterface.mutate()

      operation.setOperator(Operator.ADD);
     
      ManagedCustomerOperation[] operations = new ManagedCustomerOperation[] {operation};

      // Add account.
      ManagedCustomerReturnValue result = managedCustomerService.mutate(operations);
     
      // Display accounts.
      for (ManagedCustomer customerResult : result.getValue()) {
        System.out.println("Account with customer ID \"" + customerResult.getCustomerId()
            + "\" was created.");
View Full Code Here

Examples of com.google.api.adwords.v201309.rm.AdwordsUserListServiceInterface.mutate()

      operation.setOperator(Operator.ADD);

      UserListOperation[] operations = new UserListOperation[] {operation};

      // Add user list.
      UserListReturnValue result = adwordsUserListService.mutate(operations);

      // Display results.
      if (result != null && result.getValue() != null) {
        // Capture the ID(s) of the conversion.
        List<String> conversionIds = new ArrayList<String>();
View Full Code Here

Examples of com.heatonresearch.aifh.examples.ca.mergelife.universe.UniverseRunner.mutate()

     * @param row The multiverse row.
     * @param col The multiverse column.
     */
    public synchronized void mutateSingle(final int row, final int col) {
        final UniverseRunner target = this.grid[row][col].getUniverseRunner();
        target.mutate(this.rnd, target.getPhysics(), 0.5, 0.2);
        target.randomize(this.rnd);
    }

    /**
     * Randomize a universe (both physics and state).
View Full Code Here

Examples of eas.users.students.fabian.diplomarbeit.EvolvableBoxAgents3D.Brain.EvoBoxSparseNet.mutate()

    }
    sparseNet = new EvoBoxSparseNet(0, appendixInfoList.size()+additionalNeuronsForSensors, appendixInfoList.size(), 0, 100);
   
    //// MUTATE SPARSENET
    for (int i = 0; i < 6; i++) {
      sparseNet.mutate(params, random);
    }

    genome = new EvolvableBoxAgent3DGenome(agentSize);
    genome.setAppendices(appendixInfoList);
    genome.setSparseNet(sparseNet);
View Full Code Here

Examples of jcgp.backend.population.Mutable.mutate()

      Mutable mutable = chromosome.getRandomMutable();
     
      if (report.get()) getResources().reportln("[Mutator] Mutation " + i + " selected " + mutable);
     
      // mutate a random gene
      mutable.mutate();
    }
  }

}
View Full Code Here

Examples of jfun.yan.Component.mutate()

    final Component r = super.eval();
    if(echo){
      final String msg = (String)this.getNutEnvironment().findService("echo_msg");
      if(msg == null)
        throw raise("echo_msg not found.");
      return r.mutate(new Mutation(){
        public void mutate(Object r){
          System.out.println(msg + r +" constructed.");
        }
      });
    }
View Full Code Here

Examples of org.apache.accumulo.fate.zookeeper.IZooReaderWriter.mutate()

   
    String cvs = new String(currentValue, Constants.UTF8);
    String[] tokens = cvs.split(",");
    final long flushID = Long.parseLong(tokens[0]);
   
    zoo.mutate(zCancelID, null, null, new Mutator() {
      @Override
      public byte[] mutate(byte[] currentValue) throws Exception {
        long cid = Long.parseLong(new String(currentValue, Constants.UTF8));
       
        if (cid < flushID)
View Full Code Here

Examples of org.apache.accumulo.server.tabletserver.NativeMap.mutate()

        for (int j = 0; j < numCols; j++) {
          int col = rand.nextInt(1000000);
          Value val = new Value("test".getBytes(Constants.UTF8));
          pc(m, col, val);
        }
        nm.mutate(m, i);
      }
    } else {
      for (int i = 0; i < numRows; i++) {
        int row = rand.nextInt(1000000000);
        for (int j = 0; j < numCols; j++) {
View Full Code Here

Examples of org.apache.accumulo.tserver.NativeMap.mutate()

        for (int j = 0; j < numCols; j++) {
          int col = rand.nextInt(1000000);
          Value val = new Value("test".getBytes(Constants.UTF8));
          pc(m, col, val);
        }
        nm.mutate(m, i);
      }
    } else {
      for (int i = 0; i < numRows; i++) {
        int row = rand.nextInt(1000000000);
        for (int j = 0; j < numCols; j++) {
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.