min_deg_moralization: Minimum degree moralization

Description Usage Arguments

View source: R/min_deg_moralization.R

Description

This function turns a immoral graph to a moral graph by fill in the deficiency of each node. A node with the minimum degree is selected at each step. The elimination process removes a nodes and the edges between its neighbours. The output of the function is a moral graph.

Usage

1

Arguments

graph

A graph that is stored in an adjacency matrix.


kelvinyangli/wrsgraph documentation built on Sept. 6, 2019, 10 a.m.