BEDM Demonstration Software Index
The software for the demonstration is prototype software written in two scripting languages. The following outline
leads off with the master sequence script that performs the demonstration step-by-step. It invokes other scripts to perform
the work. Each line below begins with a clickable link to the item named on the line. A short explanation follows and then
the source code language is shown in parenthesis.
The script for prepare_demo_session will import other software modules from the directory for the player that
is preparing itself. These files are indexed in the
document index and can be found through that index.
- demo1_sequence - Run the demonstration software step by step. (shell)
- prepare_demo - Tell all 4 players to write their negotiation positions. (shell)
- prepare_demo_session - Write the negotiation position of one player with respect to others.
[Import documents in machine-record
format for the one player including: general_rules, experience, market_estimate, and current_asks. (python)
- compute_offers - The algorithm for computing an offer from one player to another player (python)
- demo1_establish_keys - Tell players to begin negotiation by establishing a unique key for one-way encryption. (shell)
- establish_key - Create unique key for a pair of players. (python)
- encrypt_positions - Tell each player to encrypt its negotiation position statements. (shell)
- send_encrypted_positions - Tell party to send the encrypted negotiation positions to the broker. (shell)
- broker/compare_positions - Next, the broker compares the encrypted negotiation positions. (python)
- return_encrypted_agreements - Broker sends the encrypted basis for agreement statements back to the players. (shell)
- display_agreement - Tell players to decrypt the agreements received from the broker. (python)