This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef C_SOLVER_STEP_LENGTH_SELECTION_H | |
| #define C_SOLVER_STEP_LENGTH_SELECTION_H | |
| #include "CALATKCommon.h" | |
| #include "CObjectiveFunction.h" | |
| #include "CSolver.h" | |
| namespace CALATK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| => MODIFICATIONS | |
| /* In CSolverFactory.h */ | |
| + #include "CSolverStepLengthSelection.h" | |
| + typedef CSolverStepLengthSelection< TState > SolverStepLengthSelection; | |
| + enum NumericSolverType {StepLengthSelection, LineSearchUnconstrained, LineSearchConstrained, IpOpt, LBFGS, NLOPT }; | |
| - enum NumericSolverType {LineSearchUnconstrained, LineSearchConstrained, IpOpt, LBFGS, NLOPT }; | |
| /* In CSolverFactory.txx */ | |
| CSolverFactory< TState >::CreateNewSolver( NumericSolverType solver ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compute -G arg for configuring external projects with the same CMake generator: | |
| if(CMAKE_EXTRA_GENERATOR) | |
| set(gen "${CMAKE_EXTRA_GENERATOR} - ${CMAKE_GENERATOR}") | |
| else() | |
| set(gen "${CMAKE_GENERATOR}") | |
| endif() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| size_t found = m_FilePath.find_last_of("/\\"); | |
| m_FileDir = str.substr(0,found); | |
| m_FileName = str.substr(found+1); |
NewerOlder