Concept | R Documentation |
This class implements the data structure and methods for fuzzy concepts.
new()
Creator for objects of class Concept
Concept$new(extent, intent)
extent
(Set
) The extent of the concept.
intent
(Set
) The intent of the concept.
An object of class Concept
.
get_extent()
Internal Set
for the extent
Concept$get_extent()
The Set
representation of the extent.
get_intent()
Internal Set
for the intent
Concept$get_intent()
The Set
representation of the intent.
print()
Prints the concept to console
Concept$print()
A string with the elements of the set and their grades between brackets .
to_latex()
Write the concept in LaTeX format
Concept$to_latex(print = TRUE)
print
(logical) Print to output?
The fuzzy concept in LaTeX.
clone()
The objects of this class are cloneable with this method.
Concept$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Build a formal context and find its concepts
fc_planets <- FormalContext$new(planets)
fc_planets$find_concepts()
# Print the first three concepts
fc_planets$concepts[1:3]
# Select the first concept:
C <- fc_planets$concepts$sub(1)
# Get its extent and intent
C$get_extent()
C$get_intent()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.