MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

other/davis_putnam_logemann_loveland.py:107–111  ·  view source on GitHub ↗

Represent the number of clauses and the clauses themselves.

(self, clauses: Iterable[Clause])

Source from the content-addressed store, hash-verified

105 """
106
107 def __init__(self, clauses: Iterable[Clause]) -> None:
108 """
109 Represent the number of clauses and the clauses themselves.
110 """
111 self.clauses = list(clauses)
112
113 def __str__(self) -> str:
114 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected