PPL Logo

libs/ck-libs/metis/libmetis/options.c File Reference

This file contains various routines for dealing with options and ctrl_t. More...

Go to the source code of this file.

Functions

ctrl_tSetupCtrl (moptype_et optype, idx_t *options, idx_t ncon, idx_t nparts, real_t *tpwgts, real_t *ubvec)
void SetupKWayBalMultipliers (ctrl_t *ctrl, graph_t *graph)
void Setup2WayBalMultipliers (ctrl_t *ctrl, graph_t *graph, real_t *tpwgts)
void PrintCtrl (ctrl_t *ctrl)
int CheckParams (ctrl_t *ctrl)
void FreeCtrl (ctrl_t **r_ctrl)


Detailed Description

This file contains various routines for dealing with options and ctrl_t.

Date:
Started 5/12/2011
Author:
George

Copyright 1997-2011, Regents of the University of Minnesota

Version:
$Id: options.c 13901 2013-03-24 16:17:03Z karypis $ 

Definition in file options.c.


Function Documentation

ctrl_t* SetupCtrl ( moptype_et  optype,
idx_t options,
idx_t  ncon,
idx_t  nparts,
real_t tpwgts,
real_t ubvec 
)

void SetupKWayBalMultipliers ( ctrl_t ctrl,
graph_t graph 
)

Computes the per-partition/constraint balance multipliers

Definition at line 140 of file options.c.

References graph_t::invtvwgt, graph_t::ncon, ctrl_t::nparts, ctrl_t::pijbm, and ctrl_t::tpwgts.

Referenced by METIS_PartGraphKway().

Here is the caller graph for this function:

void Setup2WayBalMultipliers ( ctrl_t ctrl,
graph_t graph,
real_t tpwgts 
)

Computes the per-partition/constraint balance multipliers

Definition at line 154 of file options.c.

References graph_t::invtvwgt, graph_t::ncon, and ctrl_t::pijbm.

Referenced by InitSeparator(), and MultilevelBisect().

Here is the caller graph for this function:

void PrintCtrl ( ctrl_t ctrl  ) 

int CheckParams ( ctrl_t ctrl  ) 

void FreeCtrl ( ctrl_t **  r_ctrl  ) 

This function frees the memory associated with a ctrl_t

Definition at line 520 of file options.c.

References FreeWorkSpace(), gk_free(), ctrl_t::maxvwgt, ctrl_t::pijbm, ctrl_t::tpwgts, and ctrl_t::ubfactors.

Referenced by METIS_ComputeVertexSeparator(), METIS_NodeND(), METIS_NodeNDP(), METIS_NodeRefine(), METIS_PartGraphKway(), METIS_PartGraphRecursive(), and SetupCtrl().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:09:38 2020 for Charm++ by  doxygen 1.5.5