GraphAware\Reco4PHP\Result\PartialScore::setNewValue PHP Method

setNewValue() public method

public setNewValue ( float $value, array $details = [] )
$value float
$details array
    public function setNewValue($value, array $details = array())
    {
        $this->add(-($this->value - $value), $details);
    }