Skip to content

Commit

Permalink
Mono Annealing
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Dec 12, 2017
1 parent 50cb313 commit 8366b84
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tyrant_optimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1583,6 +1583,12 @@ void simulated_annealing(unsigned num_min_iterations, unsigned num_iterations, D
{
continue;
}

//mono
if(faction != allfactions && card->m_faction != faction)
{
continue;
}

all_candidates.emplace_back(card);
}
Expand Down

0 comments on commit 8366b84

Please sign in to comment.