This repo contains the implementation code for the paper "Size Invariant Visual Cryptography Schemes with Evolving Threshold Access Structures."
- python 3.9
- Jupyter Notebook is required to run testing scripts (*.ipynb).
Install all libraries by running the command:
pip install jupyter && pip install -r requirements.txt
This file implements the core algorithms, with each algorithm corresponding to one of the following four functions:
optimize_nonliner
optimization using thescipy.optimize
for nonlinear programming. It can only calculate the solution for k=2.optimize_sa1
basic simulated annealing algorithm with a single loop for iteration. This function is deprecated.optimize_sa2
simulated annealing algorithm with an additional loop for the Markov chain.optimize_sa3
simulated annealing algorithm with updates to hyperparameters after each iteration of the Markov chain.
The results are stored in the OptimizedResult
object.
This script allows you to visualize the generated images.
These scripts perform statistical analysis on results.