Open LucasYoung opened 6 years ago
By default role switching should be false
View #37 to understand which parts of code were changed to implement role switching. Finishing this issue will probably entail an additional line of conditional logic, and adding another variable to the InputFile.
@ohnoitsjmo Preferably finished by end of Thursday 5/10
The recently implemented feature, quick scan switching to detailed search after finishing its search partition, should be optional.
Make a new boolean variable in the InputFile that determines whether the role switch feature is active. The logic for parsing the InputFile can be seen in Resources/fileIO.cpp. This will put the InputFile varialbles into a ConfigContainer object. A pointer to this object can be found in PNav.cpp, called *configs.
Modify the role switch feature so that it only occurs if the new InputFile variable is true.