Свойство | Type | Description | |
---|---|---|---|
$item | GraphAware\Common\Type\Node | ||
$scores | |||
$totalScore | float |
Méthode | Description | |
---|---|---|
__construct ( GraphAware\Common\Type\Node $item ) | Recommendation constructor. | |
addScore ( string $name, |
||
addScores ( array $scores ) | ||
getScore ( string $key ) : |
||
getScores ( ) : |
||
item ( ) : GraphAware\Common\Type\Node | ||
totalScore ( ) : float |
Méthode | Description | |
---|---|---|
getScoreOrCreate ( $name ) |
public __construct ( GraphAware\Common\Type\Node $item ) | ||
$item | GraphAware\Common\Type\Node |
public item ( ) : GraphAware\Common\Type\Node | ||
Résultat | GraphAware\Common\Type\Node |
protected Node,GraphAware\Common\Type $item | ||
Résultat | GraphAware\Common\Type\Node |