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 | |
set -e | |
if [ -z $1 ]; then | |
VERSION="2.6.0" | |
else | |
VERSION=$1 | |
fi |
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 | |
############################################################################### | |
# Copyright (c) 2016, Vicky Vergara <[email protected]> | |
# | |
# Licence: GPL-2.0 | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation |
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 | |
set -e | |
if [ -z $1 ]; then | |
echo "version missing" | |
exit 1; | |
fi | |
VERSION=$1 |
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 | |
if [[ -z $1 ]]; then | |
echo "Mayor missing"; | |
exit 1; | |
fi | |
if [[ -z $2 ]]; then | |
echo "Minor missing"; | |
exit 1; | |
fi |
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 | |
set -e | |
function test_compile { | |
echo ------------------------------------ | |
echo ------------------------------------ | |
echo Compiling with $1 | |
echo ------------------------------------ |
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
/* | |
GSoC student applicant: | |
Task improve this code. | |
Things to keep in mind: | |
- parameters: what changes? what does not change) (const) | |
- what is the return value? void or Path? | |
- how is it going to be easier to use: | |
... | |
Path my_path; |
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
# place at the top of the repository | |
# build must exist | |
set -e | |
cd build/ | |
#cmake -DWITH_DOC=ON -DBUILD_DOXY=ON .. | |
cmake .. | |
make | |
sudo make install |
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
/* example usage | |
select * from statsQuery( 10,3, | |
'pgr_drivingDistance(', | |
'select id, source, target, cost, reverse_cost from eu_2po_4pgr where id <> 1', | |
', 1 , 0.005 , false, true)' | |
); | |
select * from statsQuery(10,3, 'pgr_dijkstra(', | |
'select id, source, target, cost, reverse_cost from eu_2po_4pgr | |
where id <> 1 ', |
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
#include <boost/config.hpp> | |
#include <iostream> | |
#include <iterator> | |
#include <exception> | |
#include <stdlib.h> | |
#include <fstream> | |
#include "postgres.h" |
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
18 | |
1 10 20 1 2 | |
2 20 30 -1 2 | |
3 30 40 -1 2 | |
4 20 50 1 2 | |
5 30 60 1 -1 | |
6 70 80 1 2 | |
7 80 50 1 2 | |
8 50 60 1 2 | |
9 60 90 1 2 |
NewerOlder