ct_common
1.0.1
Common library for combinatorial testing
|
00001 //===----- ct_common/common/seed.cpp ----------------------------*- C++ -*-===// 00002 // 00003 // The ct_common Library 00004 // 00005 // This file is distributed under the MIT license. See LICENSE for details. 00006 // 00007 //===----------------------------------------------------------------------===// 00008 // 00009 // This file contains the function definitions of class Seed 00010 // 00011 //===----------------------------------------------------------------------===// 00012 00013 #include <ct_common/common/seed.h> 00014 00015 using namespace ct::common; 00016 00017 Seed::Seed(std::size_t sid, bool is_starter) 00018 : id_(sid), is_starter_(is_starter) { 00019 } 00020 00021 Seed::Seed(const Seed &from) 00022 : id_(from.id_), is_starter_(from.is_starter_) { 00023 } 00024 00025 Seed::~Seed(void) { 00026 } 00027 00028 Seed &Seed::operator = (const Seed &right) { 00029 this->id_ = right.id_; 00030 this->is_starter_ = right.is_starter_; 00031 return (*this); 00032 } 00033 00034 EvalType_Bool Seed::IsMatch(const Assignment &assignment, const std::vector<boost::shared_ptr<ParamSpec> > ¶mspecs) { 00035 return EvalType_Bool(false, false); 00036 }