# class TMVA::MetricManhattan: public TMVA::IMetric

```
interface for a metric

```

## Function Members (Methods)

public:
 virtual ~MetricManhattan() static TClass* Class() static TClass* TMVA::IMetric::Class() virtual Double_t Distance(vector& pointA, vector& pointB) virtual Double_t TMVA::IMetric::Distance(vector& pointA, vector& pointB) vector* TMVA::IMetric::GetParameters() virtual TClass* IsA() const virtual TClass* TMVA::IMetric::IsA() const TMVA::MetricManhattan MetricManhattan() TMVA::MetricManhattan MetricManhattan(const TMVA::MetricManhattan&) TMVA::MetricManhattan& operator=(const TMVA::MetricManhattan&) TMVA::IMetric& TMVA::IMetric::operator=(const TMVA::IMetric&) void TMVA::IMetric::SetParameters(vector* parameters) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void TMVA::IMetric::ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) virtual void TMVA::IMetric::Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void TMVA::IMetric::StreamerNVirtual(TBuffer& b)

## Data Members

protected:
 vector* TMVA::IMetric::fParameters

## Function documentation

``` constructor
```
Double_t Distance(vector<Double_t>& pointA, vector<Double_t>& pointB)
``` the Manhatten distance between point A and B:
linear sum of differences between A in B in all variables
```
virtual ~MetricManhattan()
`{}`