Class METIS
- java.lang.Object
-
- gov.nih.mipav.model.structures.jama.METIS
-
- All Implemented Interfaces:
java.io.Serializable
public class METIS extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
METIS.ckrinfo_t
(package private) class
METIS.cnbr_t
(package private) class
METIS.ctrl_t
(package private) class
METIS.gk_mcore_t
(package private) class
METIS.gk_mop_t
(package private) class
METIS.graph_t
(package private) class
METIS.ikv_t
(package private) static class
METIS.mctype_et
(package private) static class
METIS.mdbglvl_et
(package private) static class
METIS.miptype_et
(package private) static class
METIS.mobjtype_et
(package private) static class
METIS.moptions_et
(package private) static class
METIS.moptype_et
(package private) static class
METIS.mrtype_et
(package private) class
METIS.nrinfo_t
(package private) static class
METIS.rstatus_et
(package private) class
METIS.vkrinfo_t
(package private) class
METIS.vnbr_t
-
Field Summary
Fields Modifier and Type Field Description private int
gk_cur_jbufs
private int
GK_MOPT_CORE
private int
GK_MOPT_HEAP
private int
GK_MOPT_MARK
(package private) METIS.gk_mcore_t
gkmcore
private int
KMETIS_DEFAULT_UFACTOR
private int
MAX_JBUFS
private int
MCPMETIS_DEFAULT_UFACTOR
private int
OMETIS_DEFAULT_UFACTOR
private int
PMETIS_DEFAULT_UFACTOR
private long
seed
-
Constructor Summary
Constructors Constructor Description METIS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
Change2CNumbering(int nvtxs, int[] xadj, int[] adjncy)
(package private) int
CheckParams(METIS.ctrl_t ctrl)
(package private) METIS.graph_t
CompressGraph(METIS.ctrl_t ctrl, int nvtxs, int[] xadj, int[] adjncy, int[] vwgt, int[] cptr, int[] cind)
(package private) METIS.graph_t
CreateGraph()
(package private) void
FreeCtrl(METIS.ctrl_t r_ctrl)
(package private) void
FreeWorkSpace(METIS.ctrl_t ctrl)
(package private) METIS.mctype_et
getmctype(int mctype)
(package private) METIS.mdbglvl_et
getmdbglvl(int mdbglvl)
(package private) METIS.miptype_et
getmiptype(int miptype)
private METIS.mobjtype_et
getmobjtype(int num)
(package private) METIS.mrtype_et
getmrtype(int mrtype)
(package private) int
GETOPTION(int[] options, METIS.moptions_et idx, int defval)
(package private) METIS.mctype_et
GETOPTION(int[] options, METIS.moptions_et idx, METIS.mctype_et defval)
(package private) METIS.miptype_et
GETOPTION(int[] options, METIS.moptions_et idx, METIS.miptype_et defval)
(package private) METIS.mobjtype_et
GETOPTION(int[] options, METIS.moptions_et idx, METIS.mobjtype_et defval)
(package private) METIS.mrtype_et
GETOPTION(int[] options, METIS.moptions_et idx, METIS.mrtype_et defval)
(package private) void
gk_gkmcoreAdd(METIS.gk_mcore_t mcore, int type, int nbytes, int[] ptr)
(package private) METIS.gk_mcore_t
gk_gkmcoreCreate()
(package private) void
gk_gkmcorePush(METIS.gk_mcore_t mcore)
(package private) int
gk_malloc_init()
(package private) void
gk_mcoreDestroy(METIS.gk_mcore_t r_mcore, boolean showstats)
(package private) float
I2RUBFACTOR(int ufactor)
(package private) void
ikvsorti(int n, METIS.ikv_t[] base)
(package private) void
InitGraph(METIS.graph_t graph)
(package private) void
InitRandom(int seed)
(package private) void
InitTimers(METIS.ctrl_t ctrl)
This function clears the timers(package private) int
METIS_NodeND(int[] nvtxs, int[] xadj, int[] adjncy, int[] vwgt, int[] options, int[] perm, int[] iperm)
(package private) void
PrintCtrl(METIS.ctrl_t ctrl)
(package private) METIS.graph_t
PruneGraph(METIS.ctrl_t ctrl, int nvtxs, int[] xadj, int[] adjncy, int[] vwgt, int[] iperm, float factor)
(package private) METIS.ctrl_t
SetupCtrl(METIS.moptype_et optype, int[] options, int ncon, int nparts, float[] tpwgts, float[] ubvec)
(package private) void
SetupGraph_label(METIS.graph_t graph)
(package private) void
SetupGraph_tvwgt(METIS.graph_t graph)
-
-
-
Field Detail
-
gkmcore
METIS.gk_mcore_t gkmcore
-
GK_MOPT_MARK
private final int GK_MOPT_MARK
- See Also:
- Constant Field Values
-
GK_MOPT_CORE
private final int GK_MOPT_CORE
- See Also:
- Constant Field Values
-
GK_MOPT_HEAP
private final int GK_MOPT_HEAP
- See Also:
- Constant Field Values
-
MAX_JBUFS
private final int MAX_JBUFS
- See Also:
- Constant Field Values
-
gk_cur_jbufs
private final int gk_cur_jbufs
- See Also:
- Constant Field Values
-
PMETIS_DEFAULT_UFACTOR
private final int PMETIS_DEFAULT_UFACTOR
- See Also:
- Constant Field Values
-
MCPMETIS_DEFAULT_UFACTOR
private final int MCPMETIS_DEFAULT_UFACTOR
- See Also:
- Constant Field Values
-
KMETIS_DEFAULT_UFACTOR
private final int KMETIS_DEFAULT_UFACTOR
- See Also:
- Constant Field Values
-
OMETIS_DEFAULT_UFACTOR
private final int OMETIS_DEFAULT_UFACTOR
- See Also:
- Constant Field Values
-
seed
private long seed
-
-
Method Detail
-
getmctype
METIS.mctype_et getmctype(int mctype)
-
getmiptype
METIS.miptype_et getmiptype(int miptype)
-
getmrtype
METIS.mrtype_et getmrtype(int mrtype)
-
getmdbglvl
METIS.mdbglvl_et getmdbglvl(int mdbglvl)
-
getmobjtype
private METIS.mobjtype_et getmobjtype(int num)
-
METIS_NodeND
int METIS_NodeND(int[] nvtxs, int[] xadj, int[] adjncy, int[] vwgt, int[] options, int[] perm, int[] iperm)
-
gk_malloc_init
int gk_malloc_init()
-
gk_gkmcoreCreate
METIS.gk_mcore_t gk_gkmcoreCreate()
-
gk_gkmcorePush
void gk_gkmcorePush(METIS.gk_mcore_t mcore)
-
gk_gkmcoreAdd
void gk_gkmcoreAdd(METIS.gk_mcore_t mcore, int type, int nbytes, int[] ptr)
-
SetupCtrl
METIS.ctrl_t SetupCtrl(METIS.moptype_et optype, int[] options, int ncon, int nparts, float[] tpwgts, float[] ubvec)
-
GETOPTION
METIS.mobjtype_et GETOPTION(int[] options, METIS.moptions_et idx, METIS.mobjtype_et defval)
-
GETOPTION
int GETOPTION(int[] options, METIS.moptions_et idx, int defval)
-
GETOPTION
METIS.miptype_et GETOPTION(int[] options, METIS.moptions_et idx, METIS.miptype_et defval)
-
GETOPTION
METIS.mrtype_et GETOPTION(int[] options, METIS.moptions_et idx, METIS.mrtype_et defval)
-
GETOPTION
METIS.mctype_et GETOPTION(int[] options, METIS.moptions_et idx, METIS.mctype_et defval)
-
I2RUBFACTOR
float I2RUBFACTOR(int ufactor)
-
InitRandom
void InitRandom(int seed)
-
PrintCtrl
void PrintCtrl(METIS.ctrl_t ctrl)
-
CheckParams
int CheckParams(METIS.ctrl_t ctrl)
-
FreeCtrl
void FreeCtrl(METIS.ctrl_t r_ctrl)
-
FreeWorkSpace
void FreeWorkSpace(METIS.ctrl_t ctrl)
-
gk_mcoreDestroy
void gk_mcoreDestroy(METIS.gk_mcore_t r_mcore, boolean showstats)
-
Change2CNumbering
void Change2CNumbering(int nvtxs, int[] xadj, int[] adjncy)
-
InitTimers
void InitTimers(METIS.ctrl_t ctrl)
This function clears the timers
-
PruneGraph
METIS.graph_t PruneGraph(METIS.ctrl_t ctrl, int nvtxs, int[] xadj, int[] adjncy, int[] vwgt, int[] iperm, float factor)
-
CreateGraph
METIS.graph_t CreateGraph()
-
InitGraph
void InitGraph(METIS.graph_t graph)
-
SetupGraph_tvwgt
void SetupGraph_tvwgt(METIS.graph_t graph)
-
SetupGraph_label
void SetupGraph_label(METIS.graph_t graph)
-
CompressGraph
METIS.graph_t CompressGraph(METIS.ctrl_t ctrl, int nvtxs, int[] xadj, int[] adjncy, int[] vwgt, int[] cptr, int[] cind)
-
ikvsorti
void ikvsorti(int n, METIS.ikv_t[] base)
-
-