protected function Recommender::getMouseNum in Recommender API 6.2
4 calls to Recommender::getMouseNum()
- CorrelationRecommender::computePredictionMemory in ./
Recommender.php - CorrelationRecommender::_computePredictionMemory in ./
Recommender.php - Recommender::loadDirectMatrix in ./
Recommender.php - Load matrix from the database into a matrix class in memory
- Recommender::loadSimilarityMatrix in ./
Recommender.php
File
- ./
Recommender.php, line 220
Class
- Recommender
- The super class for all other Recommender algorithms.
Code
protected function getMouseNum($may_cache = TRUE) {
if (!$may_cache || $this->mouseNum == NULL) {
//if (isset($this->mouseMap)) {
// $this->mouseNum = count($this->mouseMap);
//} else {
$this->mouseNum = $this
->getEntityNum($this->fieldMouse);
//}
}
return $this->mouseNum;
}