ProteoWizard
FeatureModeler.hpp
Go to the documentation of this file.
1//
2// $Id$
3//
4//
5// Original author: Darren Kessner <darren@proteowizard.org>
6//
7// Copyright 2009 Center for Applied Molecular Medicine
8// University of Southern California, Los Angeles, CA
9//
10// Licensed under the Apache License, Version 2.0 (the "License");
11// you may not use this file except in compliance with the License.
12// You may obtain a copy of the License at
13//
14// http://www.apache.org/licenses/LICENSE-2.0
15//
16// Unless required by applicable law or agreed to in writing, software
17// distributed under the License is distributed on an "AS IS" BASIS,
18// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19// See the License for the specific language governing permissions and
20// limitations under the License.
21//
22
23
24#ifndef _FEATUREMODELER_HPP_
25#define _FEATUREMODELER_HPP_
26
27
28#include "MZRTField.hpp"
30
31
32namespace pwiz {
33namespace analysis {
34
35
36///
37/// interface for fitting and scoring Feature data to a model
38///
40{
41 public:
42
44
45 virtual void fitFeature(const Feature& in, Feature& out) const = 0;
46 virtual void fitFeatures(const FeatureField& in, FeatureField& out) const;
47
48 virtual ~FeatureModeler(){}
49};
50
51
52///
53/// Gaussian implementation
54///
56{
57 public:
58
59 virtual void fitFeature(const Feature& in, Feature& out) const;
60};
61
62
63} // namespace analysis
64} // namespace pwiz
65
66
67#endif // _FEATUREMODELER_HPP_
68
#define PWIZ_API_DECL
Definition Export.hpp:32
virtual void fitFeature(const Feature &in, Feature &out) const
interface for fitting and scoring Feature data to a model
pwiz::data::peakdata::Feature Feature
virtual void fitFeatures(const FeatureField &in, FeatureField &out) const
virtual void fitFeature(const Feature &in, Feature &out) const =0
MZRTField is a std::set of boost::shared_ptrs, stored as a binary tree ordered by LessThan_MZRT.
Definition MZRTField.hpp:95