-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phase saving, restarts, and heuristic performance logs #202
base: master
Are you sure you want to change the base?
Commits on Sep 29, 2019
-
- Assignment provides getLastValue (i.e. phase). - VSIDSWithPhaseSaving is VSIDS but uses saved phase from Assignment. - BranchingHeuristicFactory knows new VSIDSWithPhaseSaving heuristics. - HeapOfActiveAtoms polished, growForMaxAtomId added. - TrailAssignment saves the phase (last truth value) of variables.
Configuration menu - View commit details
-
Copy full SHA for 8b69a7a - Browse repository at this point
Copy the full SHA 8b69a7aView commit details
Commits on Oct 5, 2019
-
Adding restarts (default disabled).
- CommandLineParser and SystemConfig have option to enable restarts. - DefaultSolver runs restarts if enabled. - Add MixedRestartStrategy combining Luby and dynamic (EMA) restarts. - Enhanced performance logs for conflicts and restarts
Configuration menu - View commit details
-
Copy full SHA for 2904653 - Browse repository at this point
Copy the full SHA 2904653View commit details
Commits on Oct 7, 2019
-
Enhance performance logs to show quality of heuristic decisions.
- ChainedBranchingHeuristics gives access to first-run heuristics. - HeapOfActiveAtoms reports activity increment for normalization. - VSIDSWithPhaseSaving logs * the overall, normalized decrease in activity of the seelected atoms, * the number of most-active choices thrown away because they were not active choice points at the time. - PerformanceLog prints heuristics information if DefaultSolver is runnning with VSIDSWithPhaseSaving
Configuration menu - View commit details
-
Copy full SHA for af19a14 - Browse repository at this point
Copy the full SHA af19a14View commit details
Commits on Oct 23, 2019
-
Add options for initial phase settings; add atom dependency to VSIDS
with phase saving. - CommandLineParser and SystemConfig accept initial phase settings. - AtomChoiceRelation stores relation between ordinary atoms and the choice points that influence them. - NaiveGrounder and ProgramAnalyzingGrounder provide AtomChoiceRelation. - NoGoodGenerator fills AtomChoiceRelation. - BranchingHeuristicFactory sets AtomChoiceRelation for VSIDSWithPhaseSaving. - PhaseInitializerFactory provides different initial phase settings. - VSIDSWithPhaseSaving uses AtomChoiceRelation for activity increments. - SolverFactory sets chosen phase initializer. - TrailAssignment considers initial phase value, if phase was not set. - Tests set a phase initializer if needed.
Configuration menu - View commit details
-
Copy full SHA for c3ac978 - Browse repository at this point
Copy the full SHA c3ac978View commit details
Commits on Nov 7, 2019
-
Add HeapOfRelatedChoiceAtoms recording only choice points, improve logs.
- In HeapOfActiveAtoms several members/methods package-private now to allow overriding. - Add HeapOfRelatedChoiceAtoms using AtomChoiceRelation to only record and initialize choice points. - Moved ChoiceManager update in DefaultSolver to correctly know which atoms are choice points. - Improved logging in VSIDSWithPhaseSaving and PerformanceLog.
Configuration menu - View commit details
-
Copy full SHA for 78b7e89 - Browse repository at this point
Copy the full SHA 78b7e89View commit details
Commits on Nov 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6143e82 - Browse repository at this point
Copy the full SHA 6143e82View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd6ea23 - Browse repository at this point
Copy the full SHA cd6ea23View commit details -
Make AtomChoiceRelation a mandatory Grounder component.
- Move getAtomChoiceRelation() from NaiveGrounder to Grounder, implement method also in DummyGrounder and ChoiceGrounder. - HeapOfActiveAtoms keeps track of literals occurring in the heap. - More logging stats from VSIDSWithPhaseSaving. - ChoiceInfluenceManager: simplified callbackOnChange
Configuration menu - View commit details
-
Copy full SHA for e83c866 - Browse repository at this point
Copy the full SHA e83c866View commit details
Commits on Feb 12, 2020
-
Merge branch 'master' into phase_saving_and_restarts_merge_master
# Conflicts: # src/main/java/at/ac/tuwien/kr/alpha/config/CommandLineParser.java # src/main/java/at/ac/tuwien/kr/alpha/config/SystemConfig.java # src/main/java/at/ac/tuwien/kr/alpha/grounder/NaiveGrounder.java # src/test/java/at/ac/tuwien/kr/alpha/grounder/NaiveGrounderTest.java # src/test/java/at/ac/tuwien/kr/alpha/solver/LearnedNoGoodDeletionTest.java
Configuration menu - View commit details
-
Copy full SHA for ab122e3 - Browse repository at this point
Copy the full SHA ab122e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6ccf70 - Browse repository at this point
Copy the full SHA a6ccf70View commit details
Commits on Feb 15, 2020
-
Merge pull request #222 from alpha-asp/phase_saving_and_restarts_merg…
…e_master Merge master into phase_saving_and_restarts
Configuration menu - View commit details
-
Copy full SHA for a7e66ce - Browse repository at this point
Copy the full SHA a7e66ceView commit details
Commits on Feb 19, 2020
-
Merge branch 'master' into phase_saving_and_restarts_merge_master
# Conflicts: # src/main/java/at/ac/tuwien/kr/alpha/config/CommandLineParser.java
Configuration menu - View commit details
-
Copy full SHA for 0fbb0e9 - Browse repository at this point
Copy the full SHA 0fbb0e9View commit details
Commits on Feb 21, 2020
-
Merge pull request #224 from alpha-asp/phase_saving_and_restarts_merg…
…e_master Merge master into phase_saving_and_restarts
Configuration menu - View commit details
-
Copy full SHA for f922794 - Browse repository at this point
Copy the full SHA f922794View commit details
Commits on Apr 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 689dd00 - Browse repository at this point
Copy the full SHA 689dd00View commit details
Commits on May 1, 2020
-
Better toString in ChoiceRecorder.
- Extend Util.join with toString method parameter.
Configuration menu - View commit details
-
Copy full SHA for c944b7e - Browse repository at this point
Copy the full SHA c944b7eView commit details
Commits on May 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3770706 - Browse repository at this point
Copy the full SHA 3770706View commit details -
Add initial phase setting rules true, rest false.
- Change initial phase values from strings to enum. - Add PhaseInitializer for RULESTRUEATOMSFALSE.
Configuration menu - View commit details
-
Copy full SHA for f30057a - Browse repository at this point
Copy the full SHA f30057aView commit details
Commits on May 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0650096 - Browse repository at this point
Copy the full SHA 0650096View commit details
Commits on May 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d0229b4 - Browse repository at this point
Copy the full SHA d0229b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d992c2 - Browse repository at this point
Copy the full SHA 7d992c2View commit details
Commits on May 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 48051e6 - Browse repository at this point
Copy the full SHA 48051e6View commit details
Commits on May 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0589715 - Browse repository at this point
Copy the full SHA 0589715View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9180c4 - Browse repository at this point
Copy the full SHA d9180c4View commit details
Commits on May 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4b8566a - Browse repository at this point
Copy the full SHA 4b8566aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e63651a - Browse repository at this point
Copy the full SHA e63651aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e26f69 - Browse repository at this point
Copy the full SHA 2e26f69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 340ae36 - Browse repository at this point
Copy the full SHA 340ae36View commit details -
Merge pull request #253 from alpha-asp/phase_saving_and_restarts_fix_…
…default_initial_phase Use enum instead of string for default initial phase
Configuration menu - View commit details
-
Copy full SHA for fdca492 - Browse repository at this point
Copy the full SHA fdca492View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bb2cf8 - Browse repository at this point
Copy the full SHA 4bb2cf8View commit details
Commits on May 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7855224 - Browse repository at this point
Copy the full SHA 7855224View commit details
Commits on Sep 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e968afa - Browse repository at this point
Copy the full SHA e968afaView commit details
Commits on Sep 21, 2021
-
Merge branch 'master' into phase_saving_and_restarts
# Conflicts: # src/main/java/at/ac/tuwien/kr/alpha/AnswerSetToXlsxWriter.java # src/main/java/at/ac/tuwien/kr/alpha/Main.java # src/main/java/at/ac/tuwien/kr/alpha/api/mapper/AnswerSetToWorkbookMapper.java # src/main/java/at/ac/tuwien/kr/alpha/config/CommandLineParser.java # src/main/java/at/ac/tuwien/kr/alpha/config/InputConfig.java # src/main/java/at/ac/tuwien/kr/alpha/config/SystemConfig.java # src/main/java/at/ac/tuwien/kr/alpha/grounder/NaiveGrounder.java # src/main/java/at/ac/tuwien/kr/alpha/grounder/NoGoodGenerator.java # src/main/java/at/ac/tuwien/kr/alpha/grounder/RuleGroundingOrders.java # src/main/java/at/ac/tuwien/kr/alpha/grounder/transformation/CardinalityNormalization.java # src/test/java/at/ac/tuwien/kr/alpha/AnswerSetToXlsxWriterTest.java # src/test/java/at/ac/tuwien/kr/alpha/api/AlphaTest.java # src/test/java/at/ac/tuwien/kr/alpha/grounder/DummyGrounder.java # src/test/java/at/ac/tuwien/kr/alpha/grounder/NaiveGrounderTest.java # src/test/java/at/ac/tuwien/kr/alpha/grounder/RuleGroundingOrderTest.java # src/test/java/at/ac/tuwien/kr/alpha/solver/LearnedNoGoodDeletionTest.java
Configuration menu - View commit details
-
Copy full SHA for 5d52555 - Browse repository at this point
Copy the full SHA 5d52555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7257348 - Browse repository at this point
Copy the full SHA 7257348View commit details -
Merge branch 'phase_saving_and_restarts' of github:AntoniusW/Alpha in…
…to phase_saving_and_restarts
Configuration menu - View commit details
-
Copy full SHA for a0f87e9 - Browse repository at this point
Copy the full SHA a0f87e9View commit details
Commits on Oct 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2fcf5d7 - Browse repository at this point
Copy the full SHA 2fcf5d7View commit details
Commits on Oct 6, 2021
-
Refactor VSIDS implementations, extract common fields and methods.
- Introduced AbstractVSIDS, bundling code common to all VSIDS implementations. - VSIDS refactored and extends AbstractVSIDS now. - VSIDSWithPhaseSaving refactored and extends AbstractVSIDS now.
Configuration menu - View commit details
-
Copy full SHA for af8a944 - Browse repository at this point
Copy the full SHA af8a944View commit details -
Configuration menu - View commit details
-
Copy full SHA for 419b819 - Browse repository at this point
Copy the full SHA 419b819View commit details
Commits on Dec 4, 2021
-
Merge branch 'master' into phase_saving_and_restarts
# Conflicts: # alpha-api/src/main/java/at/ac/tuwien/kr/alpha/api/config/SystemConfig.java # alpha-cli-app/src/main/java/at/ac/tuwien/kr/alpha/app/config/CommandLineParser.java # alpha-cli-app/src/test/java/at/ac/tuwien/kr/alpha/app/config/CommandLineParserTest.java # alpha-cli-app/src/test/java/at/ac/tuwien/kr/alpha/app/mappers/AnswerSetToWorkbookMapperTest.java # alpha-commons/src/main/java/at/ac/tuwien/kr/alpha/commons/literals/ComparisonLiteralImpl.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/common/NoGood.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/grounder/ChoiceRecorder.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/grounder/Grounder.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/grounder/NaiveGrounder.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/grounder/NoGoodGenerator.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/programs/structure/AtomChoiceRelation.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/DefaultSolver.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/MixedRestartStrategy.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/NaiveNoGoodStore.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/NoGoodCounter.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/PerformanceLog.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/SolverFactory.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/TrailAssignment.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/AbstractVSIDS.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/BranchingHeuristicFactory.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/ChainedBranchingHeuristics.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/HeapOfActiveAtoms.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/HeapOfRelatedChoiceAtoms.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/PhaseInitializerFactory.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/VSIDS.java # alpha-core/src/main/java/at/ac/tuwien/kr/alpha/core/solver/heuristics/VSIDSWithPhaseSaving.java # alpha-core/src/test/java/at/ac/tuwien/kr/alpha/core/grounder/ChoiceGrounder.java # alpha-core/src/test/java/at/ac/tuwien/kr/alpha/core/grounder/DummyGrounder.java
Configuration menu - View commit details
-
Copy full SHA for 8adbd2a - Browse repository at this point
Copy the full SHA 8adbd2aView commit details
Commits on Dec 5, 2021
-
Modularize phase saving and fix merge.
- Extract InitialAtomPhase from PhaseInitializerFactory. - Fix missing/wrong imports.
Configuration menu - View commit details
-
Copy full SHA for fcd2436 - Browse repository at this point
Copy the full SHA fcd2436View commit details