Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions modelchecker/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1770,6 +1770,12 @@ func (p *Process) minHashCode(hashes []string) string {
// findVisitedSymmetric looks up a node in the visited map by trying all symmetry
// permutation hashes. Returns the matching node and true if found, nil and false otherwise.
func (p *Processor) findVisitedSymmetric(node *Node) (*Node, bool, string) {
// Skip symmetry reduction in simulation mode - we only check one path anyway
if p.simulation {
hash := node.HashCode()
other, ok := p.visited[hash]
return other, ok, hash
}
hashes := node.getSymmetryTranslations()
minHash := node.minHashCode(hashes)
other, ok := p.visited[minHash]
Expand Down