Functions
options.c File Reference

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

#include "metislib.h"
Include dependency graph for options.c:

Go to the source code of this file.

Functions

int CheckParams (ctrl_t *ctrl)
 
void FreeCtrl (ctrl_t **r_ctrl)
 
void PrintCtrl (ctrl_t *ctrl)
 
void Setup2WayBalMultipliers (ctrl_t *ctrl, graph_t *graph, real_t *tpwgts)
 
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)
 

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

◆ CheckParams()

int CheckParams ( ctrl_t ctrl)

This function checks the validity of user-supplied parameters

Definition at line 287 of file options.c.

◆ FreeCtrl()

void FreeCtrl ( ctrl_t **  r_ctrl)

This function frees the memory associated with a ctrl_t

Definition at line 520 of file options.c.

◆ PrintCtrl()

void PrintCtrl ( ctrl_t ctrl)

This function prints the various control fields

Definition at line 168 of file options.c.

◆ Setup2WayBalMultipliers()

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.

◆ SetupCtrl()

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

This function creates and sets the run parameters (ctrl_t)

Definition at line 17 of file options.c.

◆ SetupKWayBalMultipliers()

void SetupKWayBalMultipliers ( ctrl_t ctrl,
graph_t graph 
)

Computes the per-partition/constraint balance multipliers

Definition at line 140 of file options.c.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:49