Skip to content

Commit

Permalink
Restored re-exploring model builder to working version
Browse files Browse the repository at this point in the history
  • Loading branch information
ifndefJOSH committed Jun 14, 2022
1 parent aae3637 commit aa4dace
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/stamina/builder/StaminaReExploringModelBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ StaminaReExploringModelBuilder<ValueType, RewardModelType, StateType>::buildMatr
StateType currentIndex;
CompressedState currentState;

perimeterReachability = 1.0;

isInit = false;
// Perform a search through the model.
while (!statesToExplore.empty()) {
Expand Down Expand Up @@ -231,7 +229,6 @@ StaminaReExploringModelBuilder<ValueType, RewardModelType, StateType>::buildMatr
currentProbabilityState->isNew = false;
if (currentProbabilityState->isTerminal() && numberTerminal > 0) {
numberTerminal--;
perimeterReachability -= currentProbabilityState->getPi();
}
currentProbabilityState->setTerminal(false);
currentProbabilityState->setPi(0.0);
Expand Down

0 comments on commit aa4dace

Please sign in to comment.