프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$item | GraphAware\Common\Type\Node | ||
$scores | |||
$totalScore | float |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
getScoreOrCreate ( $name ) |
public __construct ( GraphAware\Common\Type\Node $item ) | ||
$item | GraphAware\Common\Type\Node |