def lipschitz_verification_mukhutdinov(bound: float): run("q_adversarial_verification", *ARGS_MUKHUTDINOV, bound, "--skip_graphviz --single_source 1 --single_sink 3 --input_max_delta_q 20 "\ "--learning_step_indices 1,2,3,8")
def lipschitz_verification_tarau(bound: float): run("q_adversarial_verification", *ARGS_TARAU, bound, "--skip_graphviz --single_source 0 --single_sink 1 --input_max_delta_q 10 "\ "--learning_step_indices 17,22,23,24")
def embedding_verification_tarau(bound: float, epsilon: float, source: int, sink: int): run( "embedding_adversarial_verification", *ARGS_TARAU, bound, f"--skip_graphviz --single_source {source} --single_sink {sink} --input_eps_l_inf {epsilon} " f"{MARABOU_MEMORY_LIMIT}")
def embedding_verification_tarau(bound: float, epsilon: float): run("embedding_adversarial_full_verification", "tarau2010_graph_original", "tarau2010_settings_regular", bound, f"--skip_graphviz --single_source 0 --single_sink 1 --input_eps_l_inf {epsilon} " f"--linux_marabou_memory_limit_mb 12288")
def embedding_verification_original(bound: float, epsilon: float): run("embedding_adversarial_full_verification", "original_example_graph", "original_example_settings_energy_test", bound, f"--skip_graphviz --single_source 1 --single_sink 3 --input_eps_l_inf {epsilon} " f"--linux_marabou_memory_limit_mb 12288")
def lipschitz_verification_tarau(bound: float): run("q_adversarial_lipschitz", "tarau2010_graph_original", "tarau2010_settings_regular", bound, "--skip_graphviz --single_source 0 --single_sink 1 --input_max_delta_q 10 "\ "--learning_step_indices 17,22,23,24")
def lipschitz_verification_original(bound: float): run("q_adversarial_lipschitz", "original_example_graph", "original_example_settings_energy_test", bound, "--skip_graphviz --single_source 1 --single_sink 3 --input_max_delta_q 20 "\ "--learning_step_indices 1,2,3,8")