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

Method get_value

other/greedy.py:10–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8 return f"{self.__class__.__name__}({self.name}, {self.value}, {self.weight})"
9
10 def get_value(self):
11 return self.value
12
13 def get_name(self):
14 return self.name

Callers 1

greedyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected