detect.problems: Checks the consistency of a solution

Description Usage Arguments Value Author(s)

Description

Takes a temptative solution and the initial case to resolve. Tests wether the equations all lead to consistent results of do contradict each other. Returns an error with stop() in case of error if fail=TRUE; else just returns the count of problems.

Usage

1
2
3
detect.problems(sol, case, fail = TRUE, verbose = FALSE, indent = 1,
  tolerance.pd = 1.5e-08, tolerance.degree.max = 1.5e-08,
  tolerance.pij = 1e-04)

Arguments

sol

the current solution (a named list)

case

the case to be solved

fail

if TRUE, an error will call stop()

verbose

if TRUE, will ddetect.problemsisplay detailed information on the console

indent

the indentation (count of tabs) for verbose display

tolerance.pd

the tolerance for probability distributions

tolerance.degree.max

the tolerance for min/max average degrees

tolerance.pij

the tolerance for pij probabilities

Value

the count of problems

Author(s)

Samuel Thiriot <samuel.thiriot@res-ear.ch>


samthiriot/gosp.dpp documentation built on May 18, 2019, 3:44 p.m.