NetLogo / NetLogo/Table-Extension
`table:max-value` and `table:max-key` to get the maximum value and key of the maximum value from a table
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
It would be very useful to have to functions, let's say table:max-value and table:max-key, which giver the maximum value in a table and the key corresponding to that value.
For example, given the following table:
let fruit table:make
table:put fruit "apple" 2
table:put fruit "orange" 5
table:put fruit "banana" 3
table:max-value fruit would give 5, while table:max-key fruit would give "orange".
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Java table-extension primitive registrations and comparable table functions, then use the fruit example to verify both maximum-value and corresponding-key behavior before considering the work complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100