Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fa53ff42 authored by David Parsons's avatar David Parsons
Browse files

remove unused HybridFuzzy from legacy FuzzyFactory

parent 03fc6f25
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,6 @@
// ============================================================================
#include "FuzzyFactory.h"
#include "Fuzzy.h"
#include "HybridFuzzy.h"
#include "ExpSetup.h"
namespace aevol {
......@@ -64,39 +63,21 @@ FuzzyFactory* FuzzyFactory::fuzzyFactory = NULL;
AbstractFuzzy* FuzzyFactory::create_fuzzy()
{
AbstractFuzzy* fuzzy;
// if (_exp_s->get_fuzzy_flavor() == 0) {
fuzzy = new Fuzzy();
// } else {
// fuzzy = new HybridFuzzy();
// }
fuzzy = new Fuzzy();
return fuzzy;
}
AbstractFuzzy* FuzzyFactory::create_fuzzy(const AbstractFuzzy& copy)
{
AbstractFuzzy* fuzzy;
// if (_exp_s->get_fuzzy_flavor() == 0) {
fuzzy = new Fuzzy((Fuzzy&)(copy));
// } else {
// fuzzy = new HybridFuzzy((HybridFuzzy&)(copy));
// }
fuzzy = new Fuzzy((Fuzzy&)(copy));
return fuzzy;
}
AbstractFuzzy* FuzzyFactory::create_fuzzy(const gzFile backup)
{
AbstractFuzzy* fuzzy;
// if (_exp_s->get_fuzzy_flavor() == 0) {
fuzzy = new Fuzzy(backup);
// } else {
// fuzzy = new HybridFuzzy(backup);
// }
fuzzy = new Fuzzy(backup);
return fuzzy;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment