Learn R Programming

Rfmtool (version 5.0.3)

fm.generate_fm_2additive_randomwalk2: Function for generating random 2-additive fuzzy measures in Mobius representation by using random walk.

Description

Generate a random 2-additive fuzzy measures in Mobius representation by using random walk.

Usage

fm.generate_fm_2additive_randomwalk2(num, n, markov, option, step, Fn)

Value

output

The output are random 2-additive fuzzy measure, it contains singletons and pairs but no emptyset.

Arguments

num

Generated num random fuzzy measures stored consecutively in cardinality ordering in the array v.

n

Number of inputs.

markov

Number of Markov steps to take, the randomness increases with that number.

option

Not used, reserved for future use.

step

The maximum size of random steps (with respect to each value). The actual step is a random value up to Step.

Fn

The callback function to verify any additional conditions on generated FM. Provided by the user or NULL.

Author

Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University

Examples

Run this code
  num <- 10
  n <- 5
  fuzzymeasures <- fm.generate_fm_2additive_randomwalk2(num, n, 1000, 0, 0.001, NULL)

Run the code above in your browser using DataLab