X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Frscommon.h;h=45a5b3129e141af8369576e059bb386b497d823f;hp=66e36d905e7b8431acba4bce9b3f50075dd17bcb;hb=3dbb2f33eae3a509123ffc99e48e35f858a8292a;hpb=b0df3bd887cce71fdbd60332b89db0a076b1ee4e diff --git a/yarrg/rscommon.h b/yarrg/rscommon.h index 66e36d9..45a5b31 100644 --- a/yarrg/rscommon.h +++ b/yarrg/rscommon.h @@ -14,6 +14,8 @@ DF(tableau) \ DF(lp) +//#define debug_flags 0 + #define debug debug_file #include "common.h" @@ -121,6 +123,7 @@ void setup_value(void); typedef struct { double value[AP]; + int length; int ports[MAX_ROUTELEN]; } OnePotentialResult; @@ -135,7 +138,7 @@ void search(int start_isle, int final_isle /* -1 means any */, extern double max_mass, max_volu, max_capi; extern double distance_loss_factor_per_league; -extern int max_dist; +extern int max_dist, min_trade_maxprofit; #define LOSS_FACTOR_PER_DELAY_SLOT (1-1e-8)