Description Usage Arguments Details Value References See Also Examples

View source: R/kneighbourhood.R

Computes the neighbourhood of a knowledge state.

1 | ```
kneighbourhood(kst, state)
``` |

`kst` |
An |

`state` |
An |

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

A set of sets contining the neighbourhood of `state`

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

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 April 13, 2018, 5:06 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.