PHP 클래스 GraphAware\Reco4PHP\Tests\Engine\OverrideDiscoveryEngine

상속: extends TestDiscoveryEngine
파일 보기 프로젝트 열기: graphaware/reco4php 1 사용 예제들

공개 메소드들

메소드 설명
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