2022년 09월

[Julia, ABM] Schelling-Agent Based Model

schelling Schelling¶ n x n grid에서 agent들의 행복하게 느끼는 지수(min_to_be_happy)에 따라 어떻게 무리 짓는지를 시뮬레이션 agent들은 주변에 같은 그룹에 속한 agent들이 있을 때는 그 자리에 머물고 없어면 같은 그룹에 속한 agent들이 있는 곳으로 이동한다. 이 모델은 인종별, 성향별, 성별등의 무리 짓기등의 시뮬레이션에 사용된다. 소스 : https://github.com/mrchaos/julia_agents_examples 동작 환경¶ Julia : v1.7.2 Agents : v5.5.0 InteractiveDynamics […]

[Julia, ABM] Schelling-Agent Based Model Read More »

[Julia, GLMakie] vscode, jupyter notebook에서 ubuntu remote개발시 GLMakie window display

Ubuntu 서버를 remote로 두고 local pc에서 GLMakie 창이 뜨게 하는 방법은 먼저 PC에 x-server terminal 서버 설치 또는 MobaXterm같은 무료 프로그램 설치를 통해 설정이 가능하다.MobaXterm : https://mobaxterm.mobatek.net/ MobaXterm에서 remote server에 접속한다. 접속 후 DISPLAY변수에 설정된 값을 조회 한다. 아래 화면 처럼 DISPLAY값을 확인 하고 X server가 활성된 것을 확인 한다. (활성화 되지 않으면 회색으로 보임)

[Julia, GLMakie] vscode, jupyter notebook에서 ubuntu remote개발시 GLMakie window display Read More »