VR-Forces 4.0.4 Class Documentation
include/gdb/netwrkEdgMet.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2001 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: netwrkEdgMet.h,v $ $Revision: 1.9 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #pragma once
00010 
00011 #include "gdb/gdbDefines.h"
00012 #include "gdb/metric.h"
00013 
00014 class DtNetworkEdge;
00015 class DtPoint;
00016 
00019 class DT_DLL_gdb DtNetworkEdgeMetric : public DtMetric
00020 {
00021 public:
00022 
00024    DtNetworkEdgeMetric();
00025 
00027    virtual ~DtNetworkEdgeMetric();
00028 
00030    DtNetworkEdgeMetric(const DtNetworkEdgeMetric& orig);
00031 
00033    DtNetworkEdgeMetric& operator=(const DtNetworkEdgeMetric& orig);
00034 
00035 public:
00036 
00038    virtual double measure(const DtNetworkEdge& edge) const = 0;
00039 
00041    virtual bool valid(const DtNetworkEdge& edge) const = 0;
00042 
00044    virtual bool validSW(double xx, double yy) const = 0;
00045 
00047    virtual bool validSE(double xx, double yy) const = 0;
00048 
00050    virtual bool validNE(double xx, double yy) const = 0;
00051 
00053    virtual bool validNW(double xx, double yy) const = 0;
00054 
00056    virtual double heuristic(const DtPoint& source, const DtPoint& dest) const = 0;
00057 
00058 };
00059 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)