Learning JavaScript Design Patterns
Let us now proceed to review the table.
Creational |
Based on the concept of creating an object. |
||||||
Class |
|||||||
Factory Method |
This makes an instance of several derived classes based on interfaced data or events. |
||||||
Object |
|||||||
Abstract Factory |
Creates an instance of several families of classes without detailing concrete classes. |
||||||
Builder |
Separates object construction from its representation, always creates the same type of object. |
||||||
Prototype |
A fully initialized instance used for copying or cloning. |
||||||
Singleton |
A class with only a single instance with global access points. |
||||||
|
|
|
|
|
|
|
|
Structural |
Based on the idea of building blocks of objects |
||||||
Class |
|||||||
Adapter |
Match interfaces of different classes therefore classes can work together despite incompatible interfaces |
||||||
Object |
|||||||
Adapter |
Match interfaces of different classes therefore classes can work together despite incompatible interfaces |
||||||
Bridge |
Separates an object's interface from its implementation so the two can vary independently |
||||||
Composite |
A structure of simple and composite objects which makes the total object more than just the sum of its parts. |
||||||
Decorator |
Dynamically add alternate processing to objects. |
||||||
Facade |
A single class that hides the complexity of an entire subsystem. |
||||||
Flyweight |
A fine-grained instance used for efficient sharing of information that is contained elsewhere. |
||||||
Proxy |
A place holder object representing the true object |
||||||
|
|||||||
Behavioral |
Based on the way objects play and work together. |
||||||
Class |
|||||||
Interpreter |
A way to include language elements in an application to match the grammar of the intended language. |
||||||
Template |
Creates the shell of an algorithm in a method, then defer the exact steps to a subclass. |
||||||
Object |
|||||||
Chain of |
A way of passing a request between a chain of objects to find the object that can handle the request. |
||||||
Command |
Encapsulate a command request as an object to enable, logging and/or queuing of requests, and provides error-handling for unhandled requests. |
||||||
Iterator |
Sequentially access the elements of a collection without knowing the inner workings of the collection. |
||||||
Mediator |
Defines simplified communication between classes to prevent a group of classes from referring explicitly to each other. |
||||||
Memento |
Capture an object's internal state to be able to restore it later. |
||||||
Observer |
A way of notifying change to a number of classes to ensure consistency between the classes. |
||||||
State |
Alter an object's behavior when its state changes |
||||||
Strategy |
Encapsulates an algorithm inside a class separating the selection from the implementation |
||||||
Visitor |
Adds a new operation to a class without changing the class |
||||||
相关推荐
An Evaluation of Statistical Approaches to Text Categorization
基于气氛语义的场景分类,徐枫,章毓晋,基于认知语义层的抽象语义的图像分类和标注是图像理解中一个非常困难的问题。但另一方面,电影帧的气氛语义对于传达故事背后的信
Source Code: A Feedforward Architecture Accounts for Rapid Categorization,This code provides a framework for reproducing the main experimental result described in: T. Serre, A. Oliva & T. Poggio, "A...
论文资料,BOW相关代码下载:https://github.com/rmsalinas/fbow
文本分类方面比较经典的文章
successful multilingual text categorization combines linguistic techniques with robust monolingual text categorization.
Epistemic communities: description and hierarchic categorization
Machine Learning in Automated Text Categorization.pdf
Bangla Content Categorization Using Text Based Supervised Learning Methods
On feature distributional clustering for text categorization
基于n-gram的文本识别论文。William B. Cavnar and John M. Trenkle Environmental Research Institute of Michigan
A New Algorithm for Web User Categorization,王勇献,,Behavior and characterization of users is an important issue in the design and maintenance of websites. Analysis of the Web access logs can offer...
An Improved KNN Text Categorization on Skew Sort Condition
Text Categorization with Support Vector Machines_ Learning with Many Relevant Fe.pdf
Viewport-Aware Dynamic 360-Degree Video Segment Categorization阅读报告
资源来自pypi官网。 资源全名:text_categorization-0.1.1-py3-none-any.whl
模式识别中场景识别分类的一种 新方法
Natural_Language_Processing_for_Online_Applications_Text_Retrieval_Extraction_and_Categorization