Fix RecommandPoint

This commit is contained in:
yang 2015-03-10 15:17:10 +08:00
parent 470d85ae72
commit 7c9320cf06

View File

@ -147,7 +147,7 @@ class RecommandPoint
if($nextPoint->isFullPeople()) if($nextPoint->isFullPeople())
{ {
$pastCost = 0; $pastCost = 0;
$virtualCost = RecommandPoint::ALPHA * $this->gamma * ($wright/$nextPoint->getLearnTime()); $virtualCost = RecommandPoint::ALPHA * $this->gamma * ($weight/$nextPoint->getLearnTime());
$isEntity=false; $isEntity=false;
} }
else else