Topology (topology v0.1.1)

Returns a topology of the given set.

Link to this section Summary

Functions

Returns a topology of the given set.

Link to this section Functions

Returns a topology of the given set.

examples

Examples

iex> Topology.topology(MapSet.new([:a, :b]))
MapSet.new([
  MapSet.new([MapSet.new([]), MapSet.new([:a, :b])]),
  MapSet.new([MapSet.new([]), MapSet.new([:a]), MapSet.new([:a, :b])]),
  MapSet.new([MapSet.new([]), MapSet.new([:b]), MapSet.new([:a, :b])]),
  MapSet.new([
    MapSet.new([]),
    MapSet.new([:a]),
    MapSet.new([:b]),
    MapSet.new([:a, :b])
  ])
])