Posts

Showing posts from May, 2020

Quick Notes on appJar (Button, Subwindow, TextEntry, Table, InfoBox)

Image
 Notes On appJar appJar Create A Basic Window from appJar import gui app = gui ( ) app . setSize ( 400 , 400 ) app . setFont ( 16 ) app . addLabel ( "Example" ) app . go ( ) Button from appJar import gui app = gui ( ) app . setSize ( 400 , 400 ) app . setFont ( 16 ) def pressA ( ) : app . addLabel ( "Pressed A" ) app . addButton ( "A" , pressA ) app . go ( ) app.addButton([title], [action when button is pressed]) before after Subwindows from appJar import gui app = gui ( ) app . setSize ( 400 , 400 ) app . setFont ( 16 ) def pressA ( ) : app . startSubWindow ( "newWindow" , title = "This is a new winodw" ) app . go ( startWindow = "newWindow" ) app . addButton ( "A" , pressA ) app . go ( ) after pressing the button A Table & Pop out info box from appJar import gui app = gui ( ) app . setSize ( 400 , 400 ) app . setFont ...

Testing Testing Testing

This is a test for my new application I just need a html file see what will happen okay  

Notes on Game Theory

Notes on Game Theory Course Link: here Self-interested agents Every agent has their own knowledge about the world and they can only make decisions base on their own knowledge (without knowing others’ choices). Every agent has its utility function , which is a mathematical function for qualifying agent’s preference of choices and the impact of uncertainty Decision-theoretic rationality Acts to maximize expected (average) utility Definitions Players: People (or organizations, thing) who making decisions, represent as N N N Actions: What the players can do, represent as A i A_i A i ​ Payoffs: What is motivating the players, represented as u i u_i u i ​ Two Standard Representations of Games Normal Form (Matrix Form, Strategic Form) Showing payoffs as a function of actions Assume players move simultaneously Player 1 \ Player 2 C D C Benefit, Benefit Drawback, Benefit D Benefit, Drawback Drawback, Drawback A Large Collective Action Game ...