Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Spot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
110
Issues
110
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spot
Spot
Commits
8d5b2ec3
Commit
8d5b2ec3
authored
Oct 25, 2018
by
Etienne Renault
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ltsmin: remove useless code
* spot/ltsmin/spins_kripke.hh: here.
parent
b156f441
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
spot/ltsmin/spins_kripke.hh
spot/ltsmin/spins_kripke.hh
+1
-18
No files found.
spot/ltsmin/spins_kripke.hh
View file @
8d5b2ec3
// -*- coding: utf-8 -*-
// Copyright (C) 2017 Laboratoire de Recherche et Développement de
// Copyright (C) 2017
, 2018
Laboratoire de Recherche et Développement de
// l'Epita (LRDE)
//
// This file is part of Spot, a model checking library.
...
...
@@ -62,23 +62,6 @@ namespace spot
}
};
/// \brief This class provides a hasher as required by the bricks classes
struct
cspins_state_hasher
{
cspins_state_hasher
(
cspins_state
&
)
{
}
cspins_state_hasher
()
=
default
;
brick
::
hash
::
hash128_t
hash
(
cspins_state
t
)
const
{
// FIXME we should compute a better hash value for this particular
// case. Shall we use two differents hash functions?
return
std
::
make_pair
(
t
[
0
],
t
[
0
]);
}
bool
equal
(
cspins_state
lhs
,
cspins_state
rhs
)
const
{
return
0
==
memcmp
(
lhs
,
rhs
,
(
2
+
rhs
[
1
])
*
sizeof
(
int
));
}
};
/// \brief The management of states (i.e. allocation/deallocation) can
/// be painless since every time we have to consider wether the state will
/// be compressed or not. This class aims to simplify this management
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment