forked from AlloyTools/org.alloytools.alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
429 additions
and
105 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file added
BIN
+79 Bytes
org.alloytools.alloy.extra/extra/icons/ColorIcons/tol_light_blue.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+79 Bytes
org.alloytools.alloy.extra/extra/icons/ColorIcons/tol_light_gray.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+79 Bytes
org.alloytools.alloy.extra/extra/icons/ColorIcons/tol_light_green.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+79 Bytes
org.alloytools.alloy.extra/extra/icons/ColorIcons/tol_light_yellow.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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
27 changes: 27 additions & 0 deletions
27
org.alloytools.pardinus.core/src/main/java/kodkod/engine/StaticWrapper.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package kodkod.engine; | ||
|
||
import kodkod.ast.Formula; | ||
import kodkod.engine.config.ExtendedOptions; | ||
import kodkod.engine.satlab.SATFactory; | ||
import kodkod.instance.PardinusBounds; | ||
import kodkod.solvers.api.TemporalSolverFactory; | ||
|
||
public class StaticWrapper { | ||
public static AbstractSolver wrap(TemporalSolverFactory temporalFactory, ExtendedOptions options) { | ||
options.setMinTraceLength(1); | ||
options.setMaxTraceLength(1); | ||
options.setRunTemporal(true); | ||
TemporalSolver<ExtendedOptions> temporalSolver = temporalFactory.getTemporalSolver(options); | ||
return new AbstractSolver<PardinusBounds, ExtendedOptions>() { | ||
@Override | ||
public ExtendedOptions options() { | ||
return temporalSolver.options(); | ||
} | ||
|
||
@Override | ||
public Solution solve(Formula formula, PardinusBounds bounds) { | ||
return temporalSolver.solve(formula, bounds); | ||
} | ||
}; | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
-includeresource \ | ||
native=native, \ | ||
LICENSES=LICENSES | ||
|
||
-buildpath: \ | ||
org.alloytools.pardinus.core,\ | ||
biz.aQute.bnd.annotation | ||
biz.aQute.bnd.annotation | ||
|
||
-testpath: \ | ||
biz.aQute.wrapper.junit,\ | ||
biz.aQute.wrapper.hamcrest |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-3.99 MB
(67%)
org.alloytools.pardinus.native/native/windows/amd64/electrod.exe
Binary file not shown.
Oops, something went wrong.