Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
79c15f56
Commit
79c15f56
authored
Nov 04, 2014
by
Mathieu Giraud
Browse files
core/representative.{h,cpp}: remove unused setters/getters
parent
976e6dd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
algo/core/representative.cpp
View file @
79c15f56
...
...
@@ -16,24 +16,6 @@ Sequence RepresentativeComputer::getRepresentative() const{
return
representative
;
}
string
RepresentativeComputer
::
getRequiredSequence
()
const
{
return
required
;
}
list
<
Sequence
>&
RepresentativeComputer
::
getSequenceList
()
const
{
return
sequences
;
}
size_t
RepresentativeComputer
::
getMinCover
()
const
{
return
min_cover
;
}
float
RepresentativeComputer
::
getPercentCoverage
()
const
{
return
percent_cover
;
}
bool
RepresentativeComputer
::
getRevcomp
()
const
{
return
revcomp
;
}
bool
RepresentativeComputer
::
hasRepresentative
()
const
{
return
is_computed
;
}
...
...
@@ -71,14 +53,6 @@ string KmerRepresentativeComputer::getSeed() const{
return
seed
;
}
void
KmerRepresentativeComputer
::
setSeed
(
string
seed
)
{
this
->
seed
=
seed
;
}
int
KmerRepresentativeComputer
::
getStabilityLimit
()
const
{
return
stability_limit
;
}
void
KmerRepresentativeComputer
::
setStabilityLimit
(
int
limit
)
{
stability_limit
=
limit
;
}
...
...
algo/core/representative.h
View file @
79c15f56
...
...
@@ -34,21 +34,6 @@ public:
*/
Sequence
getRepresentative
()
const
;
/**
* @return the sequence that must be contained in the representative sequence
* ie. getRepresentative().find(getRequiredSequence()) != string::npos
*/
string
getRequiredSequence
()
const
;
/**
* @return the input sequences we are working on
*/
list
<
Sequence
>&
getSequenceList
()
const
;
size_t
getMinCover
()
const
;
float
getPercentCoverage
()
const
;
bool
getRevcomp
()
const
;
/**
* @return true iff compute() has been called and the criteria have been met.
*/
...
...
@@ -111,13 +96,6 @@ public:
// Getters, setters
string
getSeed
()
const
;
/**
* Sets the length of the k-mer used for computing the representative
*/
void
setSeed
(
string
seed
);
int
getStabilityLimit
()
const
;
/**
* @param limit: maximal number of iterations to be performed before reaching
* stability. If after limit number of iterations, the length
...
...
Write
Preview
Supports
Markdown
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