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

View source: R/kmfringe.R

kmfringeR Documentation

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)

Arguments

state

Binary vector representing a knowledge state

struct

Binary matrix representing a knowledge structure

Value

Binary vector representing the fringe

See Also

Other Neighbourhood & fringe: kmneighbourhood()

Examples

kmfringe(c(1,0,0,0), xpl$space)


kstMatrix documentation built on Oct. 4, 2024, 1:08 a.m.