40#ifndef _Isorropia_CostDescriber_hpp_
41#define _Isorropia_CostDescriber_hpp_
44#include <Teuchos_ParameterList.hpp>
73 virtual void setParameters(
const Teuchos::ParameterList& paramlist) = 0;
101 float* weights)
const = 0;
137 int* neighbor_global_ids,
138 float* weights)
const = 0;
168 float* weights)
const = 0;
Interface (abstract base class) for describing the weights or costs associated with the vertices and/...
Definition Isorropia_CostDescriber.hpp:61
virtual bool haveVertexWeights() const =0
Query whether vertex weights have been supplied by the application.
virtual ~CostDescriber()
Destructor.
Definition Isorropia_CostDescriber.hpp:65
virtual bool haveGraphEdgeWeights() const =0
Query whether graph edge weights have been supplied by the application.
virtual void getHypergraphEdgeWeights(int numEdges, int *global_ids, float *weights) const =0
Get the hypergraph edge weights that were supplied by this process.
virtual bool haveHypergraphEdgeWeights() const =0
Query whether hypergraph edge weights have been supplied by the application.
virtual void getGraphEdgeWeights(int vertex_global_id, int num_neighbors, int *neighbor_global_ids, float *weights) const =0
Get the graph edge weights for a specified vertex.
virtual void getVertexWeights(int numVertices, int *global_ids, float *weights) const =0
Get lists of the vertex ids and weights supplied by this process.
virtual void setParameters(const Teuchos::ParameterList ¶mlist)=0
Set parameters for the CostDescriber instance.
virtual int getNumGraphEdges(int vertex_global_id) const =0
Get the number of graph edges for a specified vertex.
virtual int getNumHypergraphEdgeWeights() const =0
Get the number of Hypergraph edges.
virtual int getNumVertices() const =0
Get the number of vertices for which this process supplied vertex weights.
Isorropia is the namespace that contains general definitions that apply to all partitioners and that ...
Definition Isorropia_Epetra.hpp:60