kmfringe {kstMatrix}R 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)


[Package kstMatrix version 0.2-0 Index]