ravensat 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ravensat/ravenclaw.rb +13 -3
- data/lib/ravensat/version.rb +1 -1
- data/lib/ravensat.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a47d909acb01362653613bd0a4df6da1d426303a5e0919987b587fe3adcb77fd
|
4
|
+
data.tar.gz: 46f323addbd8e5f183eeb8bd81c28ffd0994553bc63a2e99689b991a43d1e508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31ebd03521bce3df1d2447d9bddba7eef23deced640285f9bbfb79cf790bdc2a4af45b6c299e4ed5c6aa8000a43e4114b4d7045f1e963305175de85728a01cee
|
7
|
+
data.tar.gz: '097189b8c4d177f9cd8658fa4ff16481616dfb9ca72c65fbe80fbcbb63eaa453db55067312ff152c4fff01e613f4f82c745e7594b6a00861ee2b266c7ea740d1'
|
data/lib/ravensat/ravenclaw.rb
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
module Ravensat
|
2
|
+
class RavenClaw
|
3
|
+
def initialize; end
|
4
|
+
|
5
|
+
def self.alo(prop_vars)
|
6
|
+
prop_vars.reduce(:|)
|
7
|
+
end
|
3
8
|
|
4
|
-
def
|
9
|
+
def self.amo(prop_vars)
|
10
|
+
prop_vars.combination(2).map do |e|
|
11
|
+
e.map(&:~@).reduce(:|)
|
12
|
+
end.reduce(:&)
|
13
|
+
end
|
14
|
+
end
|
5
15
|
end
|
data/lib/ravensat/version.rb
CHANGED
data/lib/ravensat.rb
CHANGED
@@ -9,6 +9,7 @@ module Ravensat
|
|
9
9
|
autoload :Solver, ravensat + '/solver.rb'
|
10
10
|
autoload :PropVar, ravensat + '/prop_var.rb'
|
11
11
|
autoload :PropLogic, ravensat + '/prop_logic.rb'
|
12
|
+
autoload :RavenClaw, ravensat + '/ravenclaw.rb'
|
12
13
|
|
13
14
|
autoload :Arcteryx, arcteryx + '/arcteryx.rb'
|
14
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ravensat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rikuto matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|