Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| orders=( 0 0 1 3 10 33 155 1043 12345 274667 ) | |
| type=simple | |
| for ordering in random incdeg decdeg inorder | |
| do | |
| for n in {2..8} | |
| do | |
| src_folder=/home/matthew/workspace/graphs-collection/src/Small/$n |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| output_dir:=./output | |
| src_dir=. | |
| svg_options:=-s\ | |
| -Tsvg\ | |
| -Gsize=4,4\!\ | |
| -Groot=3\ | |
| -Nwidth=0.3\ | |
| -Nfixedsize=true\ | |
| -Nlabel=\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| output_dir:=./output | |
| svg_options:=-s\ | |
| -Tsvg\ | |
| -Gsize=4,4\!\ | |
| -Nwidth=1\ | |
| -Nheight=1\ | |
| -Nfixedsize=true\ | |
| -Nlabel=\ | |
| -Nshape=box\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !#/bin/bash | |
| r=1 # colouring number. Look at row 2r of the .res file. | |
| n=1 | |
| p=$(( 2 * r )) | |
| s=`sed "$p!d" $1` #generalise from 2 to 2r | |
| while [ -n "$s" ] | |
| do | |
| temp=${s#?} | |
| char=${s%"$temp"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| src_dir:=~/workspace/graphs-collection/src/Colouring/Trick | |
| generate_seeds:=./generate_seeds | |
| simulation:=./simulation2 | |
| get_colours:=get_colours.sed | |
| output:=output.txt | |
| approx:=chromatic_approx.txt | |
| seeds:=seeds.txt | |
| problem_file:=$(src_dir)/queen16_16.col | |
| result_file=$(addsuffix .res, $(problem_file)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo 'graph{' | |
| sed -r -e '/^[cp]/d'\ | |
| -e 's/[ae] ([0-9]+)\s([0-9]+)/ \1 -- \2;/g'\ | |
| $1 | |
| echo '}' |