src/main/java/org/thegalactic/context/Context.java
public ConceptLattice conceptLattice(boolean diagram) {
        ConceptLattice csl = this.closedSetLattice(diagram);
        // TreeMap<Concept, Concept> nodes = new TreeMap<Concept, Concept>();
        for (Object node : csl.getNodes()) {
            Concept cl = (Concept) node;
            cl.putSetB(new ComparableSet(this.getExtent(cl.getSetA())));
        }
        return csl;
    }
/**
     * Returns the concept lattice of this component.
     *
     * A true value of the boolean `diagram` indicates that the
     * Hasse diagramm of the lattice is computed (i.e. it is transitively
     * reduced),
     * whereas a false value indicates that the lattice is transitively closed
     *
     * The closed set lattice is first generated using
     * `ConceptLattice closedSetLattice (boolean diagram)`
     * Then, nodes of the lattice are completed as concepts.
     *
     * @param diagram a boolean indicating if the Hasse diagramm of the lattice
     *                is computed or not.
     *
     * @return The concept lattice induced by this component
     */
Returns the concept lattice of this component.
A true value of the boolean `diagram` indicates that the
Hasse diagramm of the lattice is computed ,
whereas a false value indicates that the lattice is transitively closed

The closed set lattice is first generated using
`ConceptLattice closedSetLattice (boolean diagram)`
Then, nodes of the lattice are completed as concepts.

@param diagram a boolean indicating if the Hasse diagramm of the lattice
is computed or not.

@return The concept lattice induced by this component
Returns the concept lattice of this component . A true value of the boolean ` diagram ` indicates that the Hasse diagramm of the lattice is computed whereas a false value indicates that the lattice is transitively closed The closed set lattice is first generated using ` ConceptLattice closedSetLattice ( boolean diagram ) ` Then nodes of the lattice are completed as concepts . @param diagram a boolean indicating if the Hasse diagramm of the lattice is computed or not . @return The concept lattice induced by this component
public ConceptLattice conceptLattice(boolean diagram) {
        ConceptLattice csl = this.closedSetLattice(diagram);
        for (Object node : csl.getNodes()) {
            Concept cl = (Concept) node;
            cl.putSetB(new ComparableSet(this.getExtent(cl.getSetA())));
        }
        return csl;
    }
public ConceptLattice conceptLattice ( boolean diagram ) { ConceptLattice csl = this . closedSetLattice ( diagram ) ; for ( Object node : csl . getNodes ( ) ) { Concept cl = ( Concept ) node ; cl . putSetB ( new ComparableSet ( this . getExtent ( cl . getSetA ( ) ) ) ) ; } return csl ; }
Returns the concept lattice of this component.
Returns the concept lattice of this component .
// TreeMap<Concept, Concept> nodes = new TreeMap<Concept, Concept>();