fixed_ordering_moralization: Fixed ordering moralization

Description Usage Arguments

View source: R/fixed_ordering_moralization.R

Description

This function turns a immoral graph to a moral graph by fill in the deficiency of each node for a given node ordering. The elimination process removes a nodes and the edges between its neighbours. The output of the function is a moral graph.

Usage

1
fixed_ordering_moralization(graph, ordering)

Arguments

graph

A graph that is stored in an adjacency matrix.


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