Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Traces to Exploriants #140

Merged
merged 8 commits into from
Feb 15, 2024
Merged

Add Traces to Exploriants #140

merged 8 commits into from
Feb 15, 2024

Conversation

JoeAtHPI
Copy link
Collaborator

Adds a toggable trace view to exploriants for the permutation and the example view. The traces are like a simplified version of the Probelog in Babylonian.
Attached is an example of binary search with variants on different colors of variable a, a watch for variable a, a conditional watch and two subsequent watches for an index in the binary search.
image
image

Changes in code:

  • SBExample has a variable for saving its trace size, eg all values reported during its execution
  • when reporting values to watches, they are directly converted to watch values to save information like its execution order and the watch reported to, which watch values now save too for trace information purposes
  • Adds a trace morph class which visualizes examples' traces
  • Adds two subclasses of SBClusters which initialize the traces and displays them in a similiar grid-fashion
  • Adds a new abstract class for ExploriantResultView which enables toggling between two clusters (w/ and w/o traces)
  • recategorizes SBExample methods

@JoeAtHPI JoeAtHPI added enhancement New feature or request Exploriants labels Feb 13, 2024
@JoeAtHPI JoeAtHPI requested a review from tom95 February 13, 2024 20:28
@JoeAtHPI JoeAtHPI self-assigned this Feb 13, 2024
@JoeAtHPI
Copy link
Collaborator Author

Last push adds a resizing option below the button row valid for a view
image
image

@tom95 tom95 merged commit aa0bf21 into master Feb 15, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Exploriants
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants