-
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.
- local analysis for slices (simulation before the local component) -…
… specified Inconclusive verdicts in specific cases (hide with coloc, simu with loopP or loopW and colocs, Fail when filtered) - local analysis with only front - made the stopping criterion on simulation configurable (loop num, act num etc) and graphical display - refactored generic process queue in generic process manager so as to implement HCS (high coverage search) in addition of BFS and DFS - refactored priorities so as to add a random option to randomly reorder child steps of the same parent node - for slice generation added a random version in addition to the exhaustive one - for the trace generation logger added an option to generate traces only in terminal nodes (in addition to always or whenever the interaction expresses the empty trace) - refactored coverage and global verdicts, added WeakFail for Failed slice analysis under simulation criteria, replaced Dead verdict for local analysis with a boolean on Out and OutSim
- Loading branch information
Showing
43 changed files
with
1,950 additions
and
970 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ pub mod semantics; | |
pub mod error; | ||
|
||
pub mod trace; | ||
//pub mod multitrace; | ||
|
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,29 @@ | ||
/* | ||
Copyright 2020 Erwan Mahe (github.com/erwanM974) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
// TODO: use this to refactor the current implementation of multitraces: | ||
// TODO: decouple the multi-trace content's with the various flags and stuff for the analysis | ||
// TODO: also in the graphical representation do not draw the multi-trace in the same drawing but rather draw two different and compose with Graphviz, it's cleaner I guess | ||
|
||
use std::collections::HashSet; | ||
use crate::core::trace::TraceAction; | ||
|
||
pub struct MultiTraceCanal { | ||
pub co_localization : HashSet<usize>, | ||
pub trace : Vec<HashSet<TraceAction>> | ||
} | ||
|
||
pub type MultiTrace = Vec<MultiTraceCanal>; |
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
Oops, something went wrong.