Commit 57bf60cc authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Distribute the ARFF header

There are 2 of them, one for the encoded features and one for the
unencoded features.
parent bf5873e7
......@@ -101,6 +101,8 @@
/src/libtarot/cards/gen-cards-def
/src/libtarot/cards/tarot/cards_defs.h
/src/libtarot/cards/tarot/cards_private_impl.h
/src/libtarot/features/features-header-encoded.txt
/src/libtarot/features/features-header.txt
/src/libtarot/gobject/tarot-enums-stamp
/src/libtarot/gobject/tarot-gobject.c
/src/libtarot/gobject/tarot-gobject.h
......
......@@ -28,5 +28,20 @@ src_libtarot_libtarot_la_SOURCES += \
INTROSPECTED_SOURCES += %reldir%/features.c
dist_pkgdata_DATA += \
%reldir%/features-header.txt \
%reldir%/features-header.txt.in \
%reldir%/features-header-encoded.txt \
%reldir%/features-header-encoded.txt.in
MAINTAINERCLEANFILES += \
$(srcdir)/%reldir%/features-header.txt \
$(srcdir)/%reldir%/features-header-encoded.txt
$(srcdir)/%reldir%/tarot/features_private_impl.h: src/libtarot/cards/tarot/cards_private.h
$(srcdir)/%reldir%/features.c: src/libtarot/cards/tarot/cards_private.h
$(srcdir)/%reldir%/features-header.txt: $(srcdir)/%reldir%/features-header.txt.in .version
$(AM_V_GEN) (echo '@relation tarot-$(VERSION)' ; cat $<) > $@-t
@mv $@-t $@
$(srcdir)/%reldir%/features-header-encoded.txt: $(srcdir)/%reldir%/features-header-encoded.txt.in .version
$(AM_V_GEN) (echo '@relation tarot-$(VERSION)-encoded' ; cat $<) > $@-t
@mv $@-t $@
This diff is collapsed.
@attribute n_players numeric
@attribute with_call { no, yes }
@attribute trick numeric
@attribute position numeric
@attribute type { TAROT_BID_EVENT, TAROT_DECL_EVENT, TAROT_CALL_EVENT, TAROT_DISCARD_EVENT, TAROT_HANDFUL_EVENT, TAROT_CARD_EVENT }
@attribute partner_known { no, yes }
@attribute bid_minimum { TAROT_PASS, TAROT_TAKE, TAROT_PUSH, TAROT_STRAIGHT_KEEP, TAROT_DOUBLE_KEEP }
@attribute bid_n_kings numeric
@attribute bid_n_marriages numeric
@attribute bid_n_extended_marriages numeric
@attribute bid_n_queens numeric
@attribute bid_n_knights numeric
@attribute bid_n_shortest numeric
@attribute bid_n_second_shortest numeric
@attribute bid_n_second_longest numeric
@attribute bid_n_longest numeric
@attribute bid_has_petit { no, yes }
@attribute bid_has_excuse { no, yes }
@attribute bid_has_twentyone { no, yes }
@attribute bid_n_trumps numeric
@attribute bid_max_trump numeric
@attribute bid_min_trump numeric
@attribute bid_q1_trumps numeric
@attribute bid_q3_trumps numeric
@attribute bid_median_trump numeric
@attribute team_attack { no, yes }
@attribute team_defence { no, yes }
@attribute n_trick_players_already_played numeric
@attribute n_allies_after_last_opponent numeric
@attribute play_called_suit { no, yes }
@attribute play_n_times_lead numeric
@attribute play_suit_remaining numeric
@attribute play_suit_remaining_points numeric
@attribute ally_may_be_minor_master { no, yes }
@attribute ennemy_may_be_minor_master { no, yes }
@attribute n_trumps_remaining numeric
@attribute ally_may_be_trump_master { no, yes }
@attribute ennemy_may_be_trump_master { no, yes }
@attribute n_halfpoints_in_trick numeric
@attribute n_oudlers_in_trick numeric
@attribute strategy_bid { TAROT_PASS, TAROT_TAKE, TAROT_PUSH, TAROT_STRAIGHT_KEEP, TAROT_DOUBLE_KEEP }
@attribute strategy_outbid numeric
@attribute strategy_call_shortest { no, yes }
@attribute strategy_call_second_shortest { no, yes }
@attribute strategy_call_second_longest { no, yes }
@attribute strategy_call_longest { no, yes }
@attribute strategy_call_myself { no, yes }
@attribute strategy_call_marriage { no, yes }
@attribute strategy_discard_save_queens numeric
@attribute strategy_discard_save_knights numeric
@attribute strategy_discard_save_jacks numeric
@attribute strategy_discard_save_junk numeric
@attribute strategy_discard_shortest numeric
@attribute strategy_discard_second_shortest numeric
@attribute strategy_discard_second_longest numeric
@attribute strategy_discard_longest numeric
@attribute strategy_lead_called_suit { no, yes }
@attribute strategy_lead_suit_length numeric
@attribute strategy_lead_suit_n_times_lead numeric
@attribute strategy_lead_trumps { no, yes }
@attribute strategy_n_smaller_kept numeric
@attribute strategy_n_greater_nonface_kept numeric
@attribute strategy_n_points_kept numeric
@attribute strategy_n_greater_kept numeric
@attribute strategy_play_excuse { no, yes }
@attribute strategy_trump_master { no, yes }
@attribute strategy_trump_obvious_master { no, yes }
@attribute strategy_n_halfpoints numeric
@attribute strategy_oudler { no, yes }
@attribute score numeric
@data
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment