Parallel Self-Assembly of Polyominoes under Uniform Control Inputs

generates 'polyomino factories' using parallel self-assembly on particle swarms using uniform force
다운로드 수: 45
업데이트 날짜: 2017/6/8

라이선스 보기

https://www.youtube.com/watch?v=JdJFclijlLE
This code generates 'polyomino factories' using parallel self-assembly that actuate large swarms of particles using a uniform global, external force with the same effect on each particle. This occurs in a 2D grid world, in which all obstacles and particles are unit squares, and for each actuation, robots move maximally until they collide with an obstacle or another robot.
We present algorithms that, given an arbitrary 2D polyomino (arrangements of unit squares that are connected at edges), design an obstacle layout. When actuated, this layout generates copies of the input 2D structure.
The main file is BuildFactory.m
BUILDFACTORY given a polyomino part, constructs a tile factory that
contains part hoppers for each part, and a factory floor layout so that a
repeated sequence of r,u,l,d constructs a new partXY each iteration until
supplies run out.
[IsPossible,factoryLayoutArray]=BuildFactory(partXY,numCopies)
partXY: 2D array of the coordinates (rows and columns) of the tiles
numCopies: Number of copies of the partXY to be produced.
Returned variables:
IsPossible: true if part can be constructed, false else
factoryLayoutArray: If 'IsPossible' 2D array of obstacles and part hoppers filled with colored tiles.
The factory produces partXY
Authors: Sheryl Manzoor <smanzoor2@uh.edu> and Aaron T. Becker, atbecker@uh.edu

인용 양식

Aaron T. Becker's Robot Swarm Lab (2024). Parallel Self-Assembly of Polyominoes under Uniform Control Inputs (https://www.mathworks.com/matlabcentral/fileexchange/61989-parallel-self-assembly-of-polyominoes-under-uniform-control-inputs), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Particle Swarm에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Updated code now sorts the PartXY array before finding a build path for it.
We also fixed a bug that didn't build the factory layout for number of polyomino copies less than 9
Added video. Earlier version used uint8 and so could only animate 256 particles. This version uses uint16 and can handle 256x as many particles. We also fixed a small bug that inserted extra spaces in the build factory.

1.0.0.0