Set S
Set bit
Check bit
Toggle bit
Clear bit
Least Significant bit
Bitmasks provide an efficient way to manipulate a set of booleans. By using bitwise operations, boolean flags can be checked, turned on or turned off easily and quickly. It can be used in various algorithms such as the Travelling Salesman Problem to speed up the operation.
Next
All available Bitmask operations are shown here. Select an action and provide the necessary input, and the action will be animated in the visualisation area.
Next
View the visualisation here!
Next
As the action is being carried out, each step will be described in the status panel.
Next
You can also follow the psuedocode highlights to trace the algorithm.
Next
Control the animation with the player controls! Keyboard shortcuts are:
Spacebar: play/pause/replay
Left/right arrows: step backward/step forward
-/+: decrease/increase speed
Next
Return to "Exploration Mode" to start exploring!