Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sasa
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
Container Registry
Model registry
Operate
Environments
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
verimag
synchrone
sasa
Commits
f5c7c39c
Commit
f5c7c39c
authored
3 years ago
by
erwan
Browse files
Options
Downloads
Patches
Plain Diff
Create .dot and .dot.log files only with -is
parent
a63415b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sasaMain.ml
+3
-3
3 additions, 3 deletions
src/sasaMain.ml
with
3 additions
and
3 deletions
src/sasaMain.ml
+
3
−
3
View file @
f5c7c39c
...
@@ -202,15 +202,15 @@ let rec (simuloop: out_channel -> int -> int -> string -> 'v SimuState.t -> int)
...
@@ -202,15 +202,15 @@ let rec (simuloop: out_channel -> int -> int -> string -> 'v SimuState.t -> int)
let
()
=
let
()
=
let
st
=
Sasacore
.
SimuState
.
make
true
Sys
.
argv
in
let
st
=
Sasacore
.
SimuState
.
make
true
Sys
.
argv
in
let
log
=
open_out
(
st
.
sasarg
.
topo
^
".log"
)
in
let
newdot_fn
=
(
Filename
.
chop_extension
st
.
sasarg
.
topo
)
^
"_wi.dot"
in
let
newdot
=
open_out
newdot_fn
in
let
n
=
st
.
sasarg
.
length
in
let
n
=
st
.
sasarg
.
length
in
try
try
match
st
.
sasarg
.
init_search_max_trials
with
match
st
.
sasarg
.
init_search_max_trials
with
|
None
->
|
None
->
ignore
(
simuloop
stdout
n
n
""
st
)
ignore
(
simuloop
stdout
n
n
""
st
)
|
Some
maxt
->
|
Some
maxt
->
let
log
=
open_out
(
st
.
sasarg
.
topo
^
".log"
)
in
let
newdot_fn
=
(
Filename
.
chop_extension
st
.
sasarg
.
topo
)
^
"_wi.dot"
in
let
newdot
=
open_out
newdot_fn
in
let
run
s
=
let
run
s
=
moves
:=
0
;
moves
:=
0
;
rounds
:=
0
;
rounds
:=
0
;
...
...
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