Skip to content

Commit

Permalink
raise NotImplementedError
Browse files Browse the repository at this point in the history
  • Loading branch information
mannbach committed Aug 21, 2024
1 parent da55bc9 commit 6cd2ece
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netin/models/directed_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def get_metadata(
self._out_degrees.get_metadata(d[self.__class__.__name__])
return d

def preload_graph(self, _: Graph):
raise NotImplementedError("Preloading is not supported for this model")

def _simulate(self) -> DiGraph:
tries = 0
while self.graph.number_of_edges()\
Expand Down

0 comments on commit 6cd2ece

Please sign in to comment.