kneighbourhood: Neighbourhood of Knowledge States

Description Usage Arguments Details Value References See Also Examples

View source: R/kneighbourhood.R

Description

Computes the neighbourhood of a knowledge state.

Usage

1

Arguments

kst

An R object of class kstructure.

state

An R object of class set.

Details

The neighbourhood of a knowledge state is the set of all those states which have a symmetric seu difference of 1.

Value

A set of sets containing the neighbourhood of state

References

Doignon, J.-P., Falmagne, J.-C. (1999) Knowledge Spaces. Heidelberg: Springer Verlag.

See Also

kfringe, kstructure, set

Examples

1
2
3
4
5
6
7
kst <- kstructure(set(set(), set("c"), set("a","b"), set("b","c"), 
   set("c","d"), set("d","e"), set("a","b","c"), set("b","c","d"), 
   set("c","d","e"), set("a","b","c","d"), set("a","b","d","e"), 
   set("b","c","d","e"), set("a","b","c","d","e")))

# inner fringe
kneighbourhood(kst, set("c","d","e"))

kst documentation built on Sept. 21, 2018, 6:23 p.m.