Show / Hide Table of Contents

Class OverlappingModel

OverlappingModel constrains that every n by n rectangle in the output is a copy of a rectangle taken from the sample.

Inheritance
object
TileModel
OverlappingModel
Inherited Members
TileModel.MultiplyFrequency(Tile, double, TileRotation)
Namespace: DeBroglie.Models
Assembly: DeBroglie.dll
Syntax
public class OverlappingModel : TileModel

Constructors

| Edit this page View Source

OverlappingModel(ITopoArray<Tile>, int, int, bool)

Declaration
public OverlappingModel(ITopoArray<Tile> sample, int n, int rotationalSymmetry, bool reflectionalSymmetry)
Parameters
Type Name Description
ITopoArray<Tile> sample
int n
int rotationalSymmetry
bool reflectionalSymmetry
| Edit this page View Source

OverlappingModel(int)

Shorthand for constructing an Overlapping model with an n by n square or n by n by cuboid.

Declaration
public OverlappingModel(int n)
Parameters
Type Name Description
int n
| Edit this page View Source

OverlappingModel(int, int, int)

Declaration
public OverlappingModel(int nx, int ny, int nz)
Parameters
Type Name Description
int nx
int ny
int nz

Properties

| Edit this page View Source

NX

Declaration
public int NX { get; }
Property Value
Type Description
int
| Edit this page View Source

NY

Declaration
public int NY { get; }
Property Value
Type Description
int
| Edit this page View Source

NZ

Declaration
public int NZ { get; }
Property Value
Type Description
int
| Edit this page View Source

Tiles

Declaration
public override IEnumerable<Tile> Tiles { get; }
Property Value
Type Description
IEnumerable<Tile>
Overrides
TileModel.Tiles

Methods

| Edit this page View Source

AddSample(ITopoArray<Tile>, TileRotation)

Declaration
public void AddSample(ITopoArray<Tile> sample, TileRotation tileRotation = null)
Parameters
Type Name Description
ITopoArray<Tile> sample
TileRotation tileRotation
| Edit this page View Source

Create<T>(T[,], int, bool, int)

Declaration
public static OverlappingModel Create<T>(T[,] sample, int n, bool periodic, int symmetries)
Parameters
Type Name Description
T[,] sample
int n
bool periodic
int symmetries
Returns
Type Description
OverlappingModel
Type Parameters
Name Description
T
| Edit this page View Source

MultiplyFrequency(Tile, double)

Scales the the occurency frequency of a given tile by the given multiplier.

Declaration
public override void MultiplyFrequency(Tile tile, double multiplier)
Parameters
Type Name Description
Tile tile
double multiplier
Overrides
TileModel.MultiplyFrequency(Tile, double)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX