PHP Class GraphAware\Reco4PHP\Executor\RecommendationExecutor

Afficher le fichier Open project: graphaware/reco4php Class Usage Examples

Protected Properties

Свойство Type Description
$discoveryExecutor DiscoveryPhaseExecutor
$postProcessExecutor PostProcessPhaseExecutor

Méthodes publiques

Méthode Description
__construct ( DatabaseService $databaseService )
processRecommendation ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine, GraphAware\Reco4PHP\Context\Context $context )

Private Methods

Méthode Description
buildBlacklistedNodes ( GraphAware\Common\Result\ResultCollection $result, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine )
doDiscovery ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine, GraphAware\Reco4PHP\Context\Context $context )
doPostProcess ( GraphAware\Common\Type\Node $input, Recommendations $recommendations, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine )
removeIrrelevant ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine, Recommendations $recommendations, array $blacklist )

Method Details

__construct() public méthode

public __construct ( DatabaseService $databaseService )
$databaseService GraphAware\Reco4PHP\Persistence\DatabaseService

processRecommendation() public méthode

public processRecommendation ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Engine\RecommendationEngine $engine, GraphAware\Reco4PHP\Context\Context $context )
$input GraphAware\Common\Type\Node
$engine GraphAware\Reco4PHP\Engine\RecommendationEngine
$context GraphAware\Reco4PHP\Context\Context

Property Details

$discoveryExecutor protected_oe property

protected DiscoveryPhaseExecutor,GraphAware\Reco4PHP\Executor $discoveryExecutor
Résultat DiscoveryPhaseExecutor

$postProcessExecutor protected_oe property

protected PostProcessPhaseExecutor,GraphAware\Reco4PHP\Executor $postProcessExecutor
Résultat PostProcessPhaseExecutor