PHP Класс GraphAware\Reco4PHP\Tests\Engine\OverrideDiscoveryEngine

Наследование: extends TestDiscoveryEngine
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
buildScore ( GraphAware\Common\Type\Node $input, GraphAware\Common\Type\Node $item, GraphAware\Common\Result\Record $record, GraphAware\Reco4PHP\Context\Context $context ) : SingleScore
defaultScore ( ) : float
discoveryQuery ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Context\Context $context ) : GraphAware\Common\Cypher\StatementInterface
idParamName ( ) : string
recoResultName ( ) : string
scoreResultName ( ) : string

Описание методов

buildScore() публичный Метод

public buildScore ( GraphAware\Common\Type\Node $input, GraphAware\Common\Type\Node $item, GraphAware\Common\Result\Record $record, GraphAware\Reco4PHP\Context\Context $context ) : SingleScore
$input GraphAware\Common\Type\Node
$item GraphAware\Common\Type\Node
$record GraphAware\Common\Result\Record
$context GraphAware\Reco4PHP\Context\Context
Результат GraphAware\Reco4PHP\Result\SingleScore

defaultScore() публичный Метод

public defaultScore ( ) : float
Результат float

discoveryQuery() публичный Метод

public discoveryQuery ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Context\Context $context ) : GraphAware\Common\Cypher\StatementInterface
$input GraphAware\Common\Type\Node
$context GraphAware\Reco4PHP\Context\Context
Результат GraphAware\Common\Cypher\StatementInterface

idParamName() публичный Метод

public idParamName ( ) : string
Результат string

recoResultName() публичный Метод

public recoResultName ( ) : string
Результат string

scoreResultName() публичный Метод

public scoreResultName ( ) : string
Результат string