Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
8f0963fc
Commit
8f0963fc
authored
9 years ago
by
Manos Koukoutos
Browse files
Options
Downloads
Patches
Plain Diff
This looks like dead code
parent
5b32863a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/scala/leon/synthesis/rules/CEGISLike.scala
+2
-8
2 additions, 8 deletions
src/main/scala/leon/synthesis/rules/CEGISLike.scala
with
2 additions
and
8 deletions
src/main/scala/leon/synthesis/rules/CEGISLike.scala
+
2
−
8
View file @
8f0963fc
...
@@ -517,10 +517,9 @@ abstract class CEGISLike[T <% Typed](name: String) extends Rule(name) {
...
@@ -517,10 +517,9 @@ abstract class CEGISLike[T <% Typed](name: String) extends Rule(name) {
excludedPrograms
+=
bvs
excludedPrograms
+=
bvs
}
}
def
unfold
(
finalUnfolding
:
Boolean
)
:
Boolean
=
{
def
unfold
(
)
=
{
termSize
+=
1
termSize
+=
1
updateCTree
()
updateCTree
()
true
}
}
/**
/**
...
@@ -545,7 +544,6 @@ abstract class CEGISLike[T <% Typed](name: String) extends Rule(name) {
...
@@ -545,7 +544,6 @@ abstract class CEGISLike[T <% Typed](name: String) extends Rule(name) {
for
((
c
,
alts
)
<-
cTree
)
{
for
((
c
,
alts
)
<-
cTree
)
{
val
activeBs
=
alts
.
map
(
_
.
_1
).
filter
(
isBActive
)
val
activeBs
=
alts
.
map
(
_
.
_1
).
filter
(
isBActive
)
val
ord
=
implicitly
[
Ordering
[
Identifier
]]
val
either
=
for
(
a1
<-
activeBs
;
a2
<-
activeBs
if
a1
<
a2
)
yield
{
val
either
=
for
(
a1
<-
activeBs
;
a2
<-
activeBs
if
a1
<
a2
)
yield
{
Or
(
Not
(
a1
.
toVariable
),
Not
(
a2
.
toVariable
))
Or
(
Not
(
a1
.
toVariable
),
Not
(
a2
.
toVariable
))
}
}
...
@@ -738,11 +736,7 @@ abstract class CEGISLike[T <% Typed](name: String) extends Rule(name) {
...
@@ -738,11 +736,7 @@ abstract class CEGISLike[T <% Typed](name: String) extends Rule(name) {
var
skipCESearch
=
false
var
skipCESearch
=
false
// Unfold formula
// Unfold formula
val
unfoldSuccess
=
ndProgram
.
unfold
(
unfolding
==
maxUnfoldings
)
ndProgram
.
unfold
()
if
(!
unfoldSuccess
)
{
unfolding
=
maxUnfoldings
}
// Compute all programs that have not been excluded yet
// Compute all programs that have not been excluded yet
var
prunedPrograms
:
Set
[
Set
[
Identifier
]]
=
ndProgram
.
allPrograms
().
toSet
var
prunedPrograms
:
Set
[
Set
[
Identifier
]]
=
ndProgram
.
allPrograms
().
toSet
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment