Skip to content
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

Merge master into phase_saving_and_restarts #222

Merged

Conversation

rtaupe
Copy link
Collaborator

@rtaupe rtaupe commented Feb 12, 2020

No description provided.

rtaupe and others added 30 commits January 7, 2019 11:36
(i.e. heuristics that allow to ground more rules than just those whose
positive body is satisfied)
 * removed NaiveGrounder.predicatesDefinedOnlyByFacts again, because it
does not provide additional benefit over ProgramAnalysis
 * comments on design decisions in NaiveGrounder.bindNextAtomInRule
 * bugfix in NaiveGrounder.storeAtomAndTerminateIfAtomDoesNotHold
The issue here is that it is possible that atoms have been grounded by
bootstrap() and are not yet known to the assignment. The computation of
maxAtomIdBeforeGroundingNewNoGoods happened therefore too late (after
bootstrap()), but we can do without maxAtomIdBeforeGroundingNewNoGoods
anyway.
i.e. a situation in which it has to terminate binding, but where it
could (potentially) continue if the grounding order were different
terminate binding if more than N positive body literals are unassigned
# Conflicts:
#	src/main/java/at/ac/tuwien/kr/alpha/Main.java
#	src/main/java/at/ac/tuwien/kr/alpha/grounder/GrounderFactory.java
#	src/main/java/at/ac/tuwien/kr/alpha/grounder/NaiveGrounder.java
#	src/test/java/at/ac/tuwien/kr/alpha/solver/AggregatesTest.java
because this might lead to necessary rules not being grounded at all
rtaupe and others added 26 commits December 16, 2019 10:43
"disable instance removal" -> "enable accumulator"
"lax" -> "permissive"
"disable instance removal" -> "enable accumulator"
Add capability to count atoms for statistics
# Conflicts:
#	src/main/java/at/ac/tuwien/kr/alpha/solver/DefaultSolver.java
* changed deprecated dependency config "compile" to "implementation"
* changed deprecated property "archiveName" to use "archiveFileName" for bundledJar task
* exclude all "LICENSE.txt" and "NOTICE.txt" files from bundled jar (to avoid handling duplicates in classpath, since all apache commons dependencies have their own files of that name which would have to be merged otherwise)
separate logback configs for tests and bundled jar
Fix deprecation warnings for gradle 7
# 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
@codecov
Copy link

codecov bot commented Feb 12, 2020

Codecov Report

Merging #222 into phase_saving_and_restarts will increase coverage by 0.33%.
The diff coverage is 89.72%.

Impacted file tree graph

@@                       Coverage Diff                       @@
##             phase_saving_and_restarts     #222      +/-   ##
===============================================================
+ Coverage                        78.83%   79.17%   +0.33%     
- Complexity                        2077     2158      +81     
===============================================================
  Files                              146      150       +4     
  Lines                             6639     6848     +209     
  Branches                          1162     1185      +23     
===============================================================
+ Hits                              5234     5422     +188     
- Misses                            1003     1018      +15     
- Partials                           402      408       +6
Impacted Files Coverage Δ Complexity Δ
.../java/at/ac/tuwien/kr/alpha/common/Assignment.java 86.66% <ø> (ø) 10 <0> (ø) ⬇️
.../kr/alpha/solver/heuristics/HeapOfActiveAtoms.java 80.55% <ø> (ø) 33 <0> (ø) ⬇️
...n/java/at/ac/tuwien/kr/alpha/common/AtomStore.java 100% <ø> (ø) 6 <0> (ø) ⬇️
...n/kr/alpha/solver/SolverMaintainingStatistics.java 37.5% <ø> (ø) 1 <0> (ø) ⬇️
.../solver/heuristics/ChainedBranchingHeuristics.java 79.06% <0%> (-3.86%) 17 <0> (ø)
.../at/ac/tuwien/kr/alpha/grounder/NonGroundRule.java 95.55% <100%> (ø) 22 <1> (ø) ⬇️
...a/at/ac/tuwien/kr/alpha/grounder/Substitution.java 75.94% <100%> (+1.26%) 30 <0> (ø) ⬇️
...ava/at/ac/tuwien/kr/alpha/config/SystemConfig.java 73.62% <100%> (+4%) 32 <6> (+6) ⬆️
...va/at/ac/tuwien/kr/alpha/solver/WatchedNoGood.java 67.53% <100%> (+0.86%) 31 <1> (+1) ⬆️
...at/ac/tuwien/kr/alpha/solver/NaiveNoGoodStore.java 94.93% <100%> (+0.19%) 34 <3> (+1) ⬆️
... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e83c866...a6ccf70. Read the comment docs.

@AntoniusW AntoniusW merged commit a7e66ce into phase_saving_and_restarts Feb 15, 2020
@AntoniusW AntoniusW deleted the phase_saving_and_restarts_merge_master branch February 15, 2020 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants