Examples of updateValue()


Examples of com.atlassian.jira.issue.fields.CustomField.updateValue()

      SLAServiceJob.updateIssueSLAFields(clientSLAConfiguration, dateResolved, dateResponded,
          slaLastCalculated, responseSlaState,
          fixSlaState, timeElapsed, onHold, mIssue, user);
    }
    final Object onHoldVal = mIssue.getCustomFieldValue(onHold);
    onHold.updateValue(null, mIssue, new ModifiedValue(onHoldVal, new Timestamp(System.currentTimeMillis())), new DefaultIssueChangeHolder());

  }

}
View Full Code Here

Examples of com.dci.intellij.dbn.data.value.LazyLoadedValue.updateValue()

            try {
                clearError();
                int columnIndex = getColumnInfo().getColumnIndex() + 1;
                if (isLargeObject) {
                    LazyLoadedValue lazyLoadedValue = (LazyLoadedValue) getUserValue();
                    lazyLoadedValue.updateValue(resultSet, columnIndex, (String) userValue);
                } else {
                    dataType.setValueToResultSet(resultSet, columnIndex, userValue);
                }

                if (!row.isInsert()) resultSet.updateRow();
View Full Code Here

Examples of com.neuralnetwork.shared.values.DoubleValue.updateValue()

  @Test
  public final void testUpdateValue() {   
    DoubleValue v = new DoubleValue(D_10_32432);
    assertEquals(v.getValue(), D_10_32432, Constants.TEN
        * Math.ulp(v.getValue()));
    v.updateValue(new OneValue());
    assertEquals(v.getValue(), D_11_32432, Constants.TEN
        * Math.ulp(v.getValue()));
    v.updateValue(new DoubleValue(INITIAL_VALUE));
    assertEquals(v.getValue(), D_0_32432, Constants.TEN
        * Math.ulp(v.getValue()));
 
View Full Code Here

Examples of com.neuralnetwork.shared.values.DoubleValue.updateValue()

    assertEquals(v.getValue(), D_10_32432, Constants.TEN
        * Math.ulp(v.getValue()));
    v.updateValue(new OneValue());
    assertEquals(v.getValue(), D_11_32432, Constants.TEN
        * Math.ulp(v.getValue()));
    v.updateValue(new DoubleValue(INITIAL_VALUE));
    assertEquals(v.getValue(), D_0_32432, Constants.TEN
        * Math.ulp(v.getValue()));
  }

  /**
 
View Full Code Here

Examples of com.neuralnetwork.shared.values.ErrorValue.updateValue()

       
        DoubleValue n = new DoubleValue(getActivationFunction().activate(sum));
        setValue(n);
        ErrorValue e = ErrorValue.ZERO;
        for (ILink ol : getOutputs()) {
            e.updateValue(ol.getTail().feedforward(n, nnctx));
        }
    return e;
    }

  @Override
View Full Code Here

Examples of com.neuralnetwork.shared.values.ErrorValue.updateValue()

    @Override
    public IOutputLayer propagate(final INeuralNetContext nnctx) {
      ErrorValue v = new ErrorValue(Double.MAX_VALUE);
      synchronized (nnctx) {
          for (int i = 0; i < getSize(); i++) {
            v.updateValue(getNeuron(i).feedforward(nnctx));
          }
      }
      LOGGER.debug("Propagation Error: " + v.toString());
        return nnctx.getNetwork().getOutputLayer();
    }
View Full Code Here

Examples of com.neuralnetwork.shared.values.ErrorValue.updateValue()

   */
  public final ErrorValue startTraining() {
    ErrorValue totalTrainError = new ErrorValue(0);
    while (!trainStack.getData().isEmpty()) {
      try {
        totalTrainError.updateValue(new ErrorValue(
        executorService.submit(
            new TrainNetworkSubTask(network,
                trainStack.popSample())).get()));
      } catch (InterruptedException | ExecutionException e) {
        LOGGER.error(e.getMessage());
View Full Code Here

Examples of org.fusesource.commons.management.Statistic.updateValue()

    }

    @Test
    public void testCreateStatistics() throws Exception {
        Statistic counter = strategy.createStatistic("counter", null, UpdateMode.COUNTER);
        counter.updateValue(150L);
        counter.updateValue(50L);       
        assertEquals(200L, counter.getValue());

        Statistic value = strategy.createStatistic("value", null, UpdateMode.VALUE);
        value.updateValue(150L);
View Full Code Here

Examples of org.fusesource.commons.management.Statistic.updateValue()

    @Test
    public void testCreateStatistics() throws Exception {
        Statistic counter = strategy.createStatistic("counter", null, UpdateMode.COUNTER);
        counter.updateValue(150L);
        counter.updateValue(50L);       
        assertEquals(200L, counter.getValue());

        Statistic value = strategy.createStatistic("value", null, UpdateMode.VALUE);
        value.updateValue(150L);
        value.updateValue(50L);       
View Full Code Here

Examples of org.fusesource.commons.management.Statistic.updateValue()

        counter.updateValue(150L);
        counter.updateValue(50L);       
        assertEquals(200L, counter.getValue());

        Statistic value = strategy.createStatistic("value", null, UpdateMode.VALUE);
        value.updateValue(150L);
        value.updateValue(50L);       
        assertEquals(50L, value.getValue());
    }

    @Test
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.