A fuzzy logic technology based on artificial intelligence to realize AI behavior judgment method

A technology of fuzzy logic and artificial intelligence, applied in the field of game algorithms, can solve problems such as violating the player's psychological expectations, logical conflicts, and strange performance, and achieve the effect of improving the running effect of the game and using it well

Active Publication Date: 2020-09-25
周标强
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But such precise conditional judgment will make the behavior of AI very blunt, behave strangely, and violate the psychological expectations of players
For example, suppose the opponent is 100 pixels away from our side, and we choose to attack at this time, but at this time our health value is less than 10%, we should also choose to escape, then this will cause a logical conflict, in the game The behavior of our side AI will switch back and forth between the two states of attack and escape, causing the strange performance of the character shaking

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] The artificial intelligence-based fuzzy logic technology in the present embodiment realizes the AI ​​behavior judgment method, and its specific implementation process is as follows:

[0032] (1) Input: In the game, the attack distance, the life value of the attacker, the attack power of the attacker, the defense power of the attacker, the current equipment of the attacker, the attack power of the attacked, the defense power of the attacked, the current equipment of the attacked , distance as the input of fuzzy variables.

[0033] (2) Build fuzzy rules:

[0034] (2a) The construction process is specifically:

[0035] (S1) Design expected value fuzzy variable: this is required to represent the expected value of the consequence set; the expected value of the fuzzy variable needs to represent the domain of all scores from 0 to 100, therefore, its member set must be properly distributed in this domain; choose to use three member sets: a left shoulder set, a triangle set, a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an AI behavior judgment method by use of fuzzy logic technology based on artificial intelligence. The method comprises following steps of (1), carrying out inputting; (2), constructing a fuzzy rule: (2a) carrying out constructing: (S1), designing expectation value fuzzy variables; (S2), designing killing probability fuzzy variables; (S3), designing target distance fuzzy variables; and (S4) designing a rule set; and (2b) carrying out calculation: (N1), calculating killing probabilities through following calculation formula successively; and (N2), calculating the target distance by use of the Vector; and (3), carrying out de-fuzzification and obtaining a result: according to the fuzzy rule, by use of the average maximum value method, carrying out de-fuzzification so as to obtain a final expectation value about whether to attack. According to the invention, the AI behaviors can be effectively judged; fuzzification is achieved; game operation effects are achieved; and favorable use effects are achieved.

Description

technical field [0001] The invention relates to an artificial intelligence-based fuzzy logic technology to realize an AI behavior judgment method, belonging to the technical field of game algorithms. Background technique [0002] Fuzzy logic is based on multi-valued logic, using the method of fuzzy sets to study fuzzy thinking. Fuzzy logic refers to imitating the uncertainty concept judgment and reasoning thinking mode of the human brain, and the description system whose model is unknown or uncertain, And control objects with strong nonlinearity and large lag, apply fuzzy sets and fuzzy rules to reason, express transitional boundaries or qualitative knowledge experience, simulate human brain mode, implement fuzzy comprehensive judgment, reason and solve rule-type fuzzy information that is difficult to deal with by conventional methods question. Fuzzy logic is good at expressing qualitative knowledge and experience with unclear boundaries. With the help of the concept of mem...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06N7/02A63F13/55
CPCA63F13/55G06N7/023
Inventor 不公告发明人
Owner 周标强
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products