Learn R Programming

kstMatrix (version 2.2-1)

kmfringe: Compute the fringe of a state within a knowledge structure

Description

kmfringe computes the fringe of a state within a knowledge structure, i.e. the set of items by which the state differs from its neighbours.

Usage

kmfringe(state, struct)

kminnerfringe(state, struct)

kmouterfringe(state, struct)

Value

Binary vector representing the fringe

Arguments

state

Binary vector representing a knowledge state

struct

Binary matrix representing a knowledge structure

See Also

Other Fringes & learning paths: kmbasisfringe(), kmbasisneighbourhood(), kmgradations(), kmlearningpaths(), kmneighbourhood(), kmnneighbourhood()

Examples

Run this code
kmfringe(c(1,0,0,0), xpl$space)

Run the code above in your browser using DataLab