#include <Isorropia_EpetraCostDescriber.hpp>
Inheritance diagram for Isorropia::Epetra::CostDescriber:
Public Member Functions | |
| CostDescriber () | |
| Constructor. | |
| virtual | ~CostDescriber () |
| Destructor. | |
| void | setParameters (const Teuchos::ParameterList ¶mlist) |
| Set parameters for the CostDescriber instance. | |
| void | setVertexWeights (Teuchos::RefCountPtr< Epetra_Vector > vwts) |
| Vertex Weights; these typically correspond to matrix rows. | |
| void | setGraphEdgeWeights (Teuchos::RefCountPtr< Epetra_CrsMatrix > gewts) |
| Graph edge weights; these typically correspond to matrix nonzeros. | |
| void | setHypergraphEdgeWeights (Teuchos::RefCountPtr< Epetra_Vector > hgewts) |
| Hypergraph edge weights; these typically correspond to matrix columns. | |
| bool | haveVertexWeights () const |
| Query whether non-default vertex weights are present. | |
| int | getNumVertices () const |
| Get the number of vertices. | |
| void | getVertexWeights (int numVertices, int *global_ids, float *weights) const |
| Get the lists of vertex ids and weights. | |
| bool | haveGraphEdgeWeights () const |
| Query whether non-default graph edge weights are present. | |
| int | getNumGraphEdges (int vertex_global_id) const |
| Get the number of graph edges for a specified vertex. | |
| void | getGraphEdgeWeights (int vertex_global_id, int num_neighbors, int *neighbor_global_ids, float *weights) const |
| Get the graph edge weights for a specified vertex. | |
| bool | haveHypergraphEdgeWeights () const |
| Query whether non-default hypergraph edge weights are present. | |
| int | getNumHypergraphEdges () const |
| Get the number of Hypergraph edges. | |
| void | getHypergraphEdgeWeights (int numEdges, int *global_ids, float *weights) const |
| Get the hypergraph edge weights. | |
|
|
Set parameters for the CostDescriber instance. The contents of the input paramlist object are copied into an internal ParameterList attribute. This class does not retain a reference to the input ParameterList after this method returns. Implements Isorropia::CostDescriber. |
|
|
Query whether non-default vertex weights are present. If this function returns false, the caller can assume that vertex weights are all 1.0. Implements Isorropia::CostDescriber. |
|
|
Get the number of vertices. Vertices typically correspond to matrix rows. Implements Isorropia::CostDescriber. |
|
|
Query whether non-default graph edge weights are present. If this function returns false, the caller can assume that graph edge weights are all 1.0. Implements Isorropia::CostDescriber. |
|
|
Get the number of graph edges for a specified vertex. Graph edges typically correspond to matrix nonzeros. Implements Isorropia::CostDescriber. |
|
|
Query whether non-default hypergraph edge weights are present. If this function returns false, the caller can assume that hypergraph edge weights are all 1.0. Implements Isorropia::CostDescriber. |
|
|
Get the number of Hypergraph edges. Hypergraph edges typically correspond to matrix columns. Implements Isorropia::CostDescriber. |