Skip to content

Commit

Permalink
Add key sets
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometheus3375 committed Jul 18, 2024
1 parent 893abfe commit 4c25090
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions solve/key_sets.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from collections.abc import Mapping

from .shapes import *

type KeySetType = Mapping[Shape2D, Shape3D]

KSMixed: KeySetType = {
circle: prism,
triangle: cylinder,
square: cone,
}
KSDouble1: KeySetType = {
circle: cube,
triangle: sphere,
square: pyramid,
}
KSDouble2: KeySetType = {
circle: pyramid,
triangle: cube,
square: sphere,
}

__all__ = 'KeySetType', 'KSMixed', 'KSDouble1', 'KSDouble2'

0 comments on commit 4c25090

Please sign in to comment.