WPBDC 2014.3.5 → 2014.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +9 -9
- data/ext/WPBDC/judge.c +2 -3
- data/ext/WPBDC/judge.h +4 -5
- data/ext/WPBDC/scenario_descriptors.h +1 -0
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzQ5MDMxZjBkNzY5NTg4Mjc5MTkyMzUyY2NkNGEzNjNkYWQ3YmFlMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
7
|
-
|
6
|
+
MTJiMDg2MDBlYzlmMzE1NDljMzhmYzg4ZWExNTQzNDYzOGU4MDc3OA==
|
7
|
+
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGQ3MmYwYWEwOTM5OTQ2YzM3YzhiNTRlZjc0ZTNmMjk5MTc5MjZmNjE3MDQx
|
10
|
+
MTA3ZjhiYjY5NDg5ZmNmN2Q0MzFmOTFjNGE3NzE1MzJhNWE4YWY5MTUwNjYy
|
11
|
+
ZDRkNzFlYmFkY2VlYWZlMDFlYzEwZDE0YzhkZjJlNzk5ZGY4Y2I=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTVkMTc4NDM4ZmM5MWQzYTVmNjJjMjVmZTAyZGVhZjQyOTZhYjU3YzhkM2U3
|
14
|
+
MzFiNDUwYTc3ZjU3MjliM2JjMTBkMWFjMGI2YWU0NGU3MjM4MTEwZDhmNWU5
|
15
|
+
MzE0MGI5YWE1OGJjZTEwNWQ2Mzk0NjBmNTAwZWNjMzViNzlkMmE=
|
data/ext/WPBDC/judge.c
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
/*
|
2
2
|
*
|
3
|
-
* judge.c -- Ruby Extension WPBDC. Support for the
|
4
|
-
* Bridge Design Contest web site. Ruby-visible constants
|
5
|
-
* and functions.
|
3
|
+
* judge.c -- Ruby Extension WPBDC. Support for the Engineering Encounters
|
4
|
+
* Bridge Design Contest web site. Ruby-visible constants and functions.
|
6
5
|
*
|
7
6
|
* Hashing code assumes unsigned int is 32 bits, but should otherwise be portable.
|
8
7
|
*
|
data/ext/WPBDC/judge.h
CHANGED
@@ -3,9 +3,8 @@
|
|
3
3
|
|
4
4
|
/*
|
5
5
|
*
|
6
|
-
* judge.h -- Ruby Extension WPBDC. Support for the
|
7
|
-
*
|
8
|
-
* and functions.
|
6
|
+
* judge.h -- Ruby Extension WPBDC. Support for the Engineering Encounters
|
7
|
+
* Bridge Design Contest web site. Ruby-visible constants and functions.
|
9
8
|
*/
|
10
9
|
|
11
10
|
#include "rubydefs.h"
|
@@ -19,8 +18,8 @@
|
|
19
18
|
#define NULL_SEMIFINAL_SCENARIO_ID "0000000000"
|
20
19
|
|
21
20
|
// When you set this, you _must_ change the scenario table so its record is in sorted order!
|
22
|
-
|
23
|
-
|
21
|
+
#define SEMIFINAL_SCENARIO_ID "4110320000"
|
22
|
+
//#define SEMIFINAL_SCENARIO_ID NULL_SEMIFINAL_SCENARIO_ID
|
24
23
|
|
25
24
|
// Status returns from analyze().
|
26
25
|
#define BRIDGE_OK 0
|
@@ -374,6 +374,7 @@ static TScenarioDescriptor scenario_descriptor_tbl[] = {
|
|
374
374
|
{ 372, "4101220300", "16D", 87500.00 },
|
375
375
|
{ 373, "4101220360", "78D", 110500.00 },
|
376
376
|
{ 374, "4101220361", "83D", 124500.00 },
|
377
|
+
{ 999, "4110320000", "99Z", 170000.00 }, // semifinal
|
377
378
|
{ 375, "4110804060", "48D", 107500.00 },
|
378
379
|
{ 376, "4110804360", "76D", 119500.00 },
|
379
380
|
{ 377, "4110808060", "47D", 104700.00 },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: WPBDC
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2014.3.
|
4
|
+
version: 2014.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene Ressler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Container for C code extension that implements the West Point Bridge
|
14
14
|
Contest Judge.
|
@@ -18,7 +18,7 @@ extensions:
|
|
18
18
|
- ext/WPBDC/extconf.rb
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
-
-
|
21
|
+
- ext/WPBDC/WPBDC.c
|
22
22
|
- ext/WPBDC/analysis.c
|
23
23
|
- ext/WPBDC/bridge.c
|
24
24
|
- ext/WPBDC/bridge_cost.c
|
@@ -26,24 +26,24 @@ files:
|
|
26
26
|
- ext/WPBDC/bridge_parser.c
|
27
27
|
- ext/WPBDC/bridge_random.c
|
28
28
|
- ext/WPBDC/bridge_sketch.c
|
29
|
+
- ext/WPBDC/extconf.rb
|
29
30
|
- ext/WPBDC/geometry.c
|
31
|
+
- ext/WPBDC/internal.h
|
30
32
|
- ext/WPBDC/judge.c
|
33
|
+
- ext/WPBDC/judge.h
|
31
34
|
- ext/WPBDC/loading.c
|
32
35
|
- ext/WPBDC/params.c
|
33
|
-
- ext/WPBDC/rc4.c
|
34
|
-
- ext/WPBDC/rc4_key.c
|
35
|
-
- ext/WPBDC/scenario.c
|
36
|
-
- ext/WPBDC/sketch.c
|
37
|
-
- ext/WPBDC/WPBDC.c
|
38
|
-
- ext/WPBDC/internal.h
|
39
|
-
- ext/WPBDC/judge.h
|
40
36
|
- ext/WPBDC/proto.h
|
37
|
+
- ext/WPBDC/rc4.c
|
41
38
|
- ext/WPBDC/rc4.h
|
39
|
+
- ext/WPBDC/rc4_key.c
|
42
40
|
- ext/WPBDC/rubydefs.h
|
41
|
+
- ext/WPBDC/scenario.c
|
43
42
|
- ext/WPBDC/scenario_descriptors.h
|
43
|
+
- ext/WPBDC/sketch.c
|
44
44
|
- ext/WPBDC/sketch.h
|
45
45
|
- ext/WPBDC/stdafx.h
|
46
|
-
-
|
46
|
+
- lib/WPBDC.rb
|
47
47
|
homepage: http://rubygems.org/gems/wpbdc_judge
|
48
48
|
licenses:
|
49
49
|
- GPL-3
|
@@ -64,8 +64,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
66
|
rubyforge_project:
|
67
|
-
rubygems_version: 2.
|
67
|
+
rubygems_version: 2.2.2
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
|
-
summary: Judge functions of the
|
70
|
+
summary: Judge functions of the Engineering Encounters Bridge Design Contest
|
71
71
|
test_files: []
|